Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25518
b: refs/heads/master
c: 14a6283
h: refs/heads/master
v: v3
  • Loading branch information
Paul Fulghum authored and Linus Torvalds committed Apr 11, 2006
1 parent 302fbfc commit 2e0fa18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 9453a5adaf32aa0b31d1491819a083d403f645c1
refs/heads/master: 14a6283eb5c1c70e6deee985c85dcce884150737
3 changes: 1 addition & 2 deletions trunk/drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ static void release_dev(struct file * filp)
{
struct tty_struct *tty, *o_tty;
int pty_master, tty_closing, o_tty_closing, do_sleep;
int devpts_master, devpts;
int devpts;
int idx;
char buf[64];
unsigned long flags;
Expand All @@ -1757,7 +1757,6 @@ static void release_dev(struct file * filp)
pty_master = (tty->driver->type == TTY_DRIVER_TYPE_PTY &&
tty->driver->subtype == PTY_TYPE_MASTER);
devpts = (tty->driver->flags & TTY_DRIVER_DEVPTS_MEM) != 0;
devpts_master = pty_master && devpts;
o_tty = tty->link;

#ifdef TTY_PARANOIA_CHECK
Expand Down

0 comments on commit 2e0fa18

Please sign in to comment.