summaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorDaniel Walker2008-02-06 10:37:31 +0100
committerLinus Torvalds2008-02-06 19:41:07 +0100
commiteb31005eaf3ca0705b404a78eb92f714c9449276 (patch)
tree4515cc3579c0184ead833c5cfa60b719f39f3006 /include/linux/tty.h
parentDocumentation about unaligned memory access (diff)
downloadkernel-qcow2-linux-eb31005eaf3ca0705b404a78eb92f714c9449276.tar.gz
kernel-qcow2-linux-eb31005eaf3ca0705b404a78eb92f714c9449276.tar.xz
kernel-qcow2-linux-eb31005eaf3ca0705b404a78eb92f714c9449276.zip
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 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 402de892b3ed..5824a9777ad7 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -74,7 +74,6 @@ struct tty_buffer {
struct tty_bufhead {
struct delayed_work work;
- struct semaphore pty_sem;
spinlock_t lock;
struct tty_buffer *head; /* Queue head */
struct tty_buffer *tail; /* Active buffer */