Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
 
        sl->tty = tty;
        tty->disc_data = sl;
-       sl->line = tty_devnum(tty);
        sl->pid = current->pid;
 
        if (!test_bit(SLF_INUSE, &sl->flags)) {
 
        tty->disc_data = NULL;
        sl->tty = NULL;
-       if (!sl->leased)
-               sl->line = 0;
 
        /* VSV = very important to remove timers */
 #ifdef CONFIG_SLIP_SMART
 
 
   unsigned char                mode;           /* SLIP mode                    */
   unsigned char                leased;
-  dev_t                        line;
   pid_t                        pid;
 #define SL_MODE_SLIP   0
 #define SL_MODE_CSLIP  1