diff options
author | Matvejchikov Ilya <matvejchikov@gmail.com> | 2011-07-18 21:56:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-19 16:55:42 -0700 |
commit | a9481a38b1474aab0f686b30e4e2b57880065ad2 (patch) | |
tree | 9ef351656f8542fbcae3098bb0a173fb5f91cb78 /drivers/net/slip.c | |
parent | fd99beb9375b44309d5ed9c2b62063e23151610b (diff) |
slip: remove unused 'line' field from the 'slip' structure
Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/slip.c')
-rw-r--r-- | drivers/net/slip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/slip.c b/drivers/net/slip.c index 8befe697bd7..f11b3f3df24 100644 --- a/drivers/net/slip.c +++ b/drivers/net/slip.c @@ -807,7 +807,6 @@ static int slip_open(struct tty_struct *tty) sl->tty = tty; tty->disc_data = sl; - sl->line = tty_devnum(tty); sl->pid = current->pid; if (!test_bit(SLF_INUSE, &sl->flags)) { @@ -874,8 +873,6 @@ static void slip_close(struct tty_struct *tty) tty->disc_data = NULL; sl->tty = NULL; - if (!sl->leased) - sl->line = 0; /* VSV = very important to remove timers */ #ifdef CONFIG_SLIP_SMART |