Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256518
b: refs/heads/master
c: a9481a3
h: refs/heads/master
v: v3
  • Loading branch information
Matvejchikov Ilya authored and David S. Miller committed Jul 19, 2011
1 parent f673a6c commit 20a853f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd99beb9375b44309d5ed9c2b62063e23151610b
refs/heads/master: a9481a38b1474aab0f686b30e4e2b57880065ad2
3 changes: 0 additions & 3 deletions trunk/drivers/net/slip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/slip.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ struct slip {

unsigned char mode; /* SLIP mode */
unsigned char leased;
dev_t line;
pid_t pid;
#define SL_MODE_SLIP 0
#define SL_MODE_CSLIP 1
Expand Down

0 comments on commit 20a853f

Please sign in to comment.