Commit bce2e8bc authored by Linus Torvalds's avatar Linus Torvalds

tty locking fixups: remove unused "flags" variable

It became obsolete when the termios locking was changed
to use a per-tty semaphore.
parent d1337a32
......@@ -394,7 +394,6 @@ int n_tty_ioctl(struct tty_struct * tty, struct file * file,
void __user *p = (void __user *)arg;
int retval;
struct tty_ldisc *ld;
unsigned long flags;
if (tty->driver->type == TTY_DRIVER_TYPE_PTY &&
tty->driver->subtype == PTY_TYPE_MASTER)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment