Commit a9481a38b1474aab0f686b30e4e2b57880065ad2

Authored by Matvejchikov Ilya
Committed by David S. Miller
1 parent fd99beb937

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>

Showing 2 changed files with 0 additions and 4 deletions Side-by-side Diff

... ... @@ -807,7 +807,6 @@
807 807  
808 808 sl->tty = tty;
809 809 tty->disc_data = sl;
810   - sl->line = tty_devnum(tty);
811 810 sl->pid = current->pid;
812 811  
813 812 if (!test_bit(SLF_INUSE, &sl->flags)) {
... ... @@ -874,8 +873,6 @@
874 873  
875 874 tty->disc_data = NULL;
876 875 sl->tty = NULL;
877   - if (!sl->leased)
878   - sl->line = 0;
879 876  
880 877 /* VSV = very important to remove timers */
881 878 #ifdef CONFIG_SLIP_SMART
... ... @@ -90,7 +90,6 @@
90 90  
91 91 unsigned char mode; /* SLIP mode */
92 92 unsigned char leased;
93   - dev_t line;
94 93 pid_t pid;
95 94 #define SL_MODE_SLIP 0
96 95 #define SL_MODE_CSLIP 1