diff options
author | Daniel Walker <dwalker@mvista.com> | 2008-02-06 01:37:31 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:07 -0800 |
commit | eb31005eaf3ca0705b404a78eb92f714c9449276 (patch) | |
tree | 4515cc3579c0184ead833c5cfa60b719f39f3006 /drivers/char/tty_io.c | |
parent | d156042f9fdffcb0171dc20f0d8b6df3fbf779c4 (diff) | |
download | op-kernel-dev-eb31005eaf3ca0705b404a78eb92f714c9449276.zip op-kernel-dev-eb31005eaf3ca0705b404a78eb92f714c9449276.tar.gz |
drivers/char/tty_io.c: remove pty_sem
I couldn't find any users, so removing it..
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Acked-by: Alan Cox <alan@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r-- | drivers/char/tty_io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index c927f42..b62bb67 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -3721,7 +3721,6 @@ static void initialize_tty_struct(struct tty_struct *tty) tty->buf.head = tty->buf.tail = NULL; tty_buffer_init(tty); INIT_DELAYED_WORK(&tty->buf.work, flush_to_ldisc); - init_MUTEX(&tty->buf.pty_sem); mutex_init(&tty->termios_mutex); init_waitqueue_head(&tty->write_wait); init_waitqueue_head(&tty->read_wait); |