tty: PTYs set TTY_DO_WRITE_WAKEUP when they don't need to
authorAlan Cox <alan@redhat.com>
Fri, 2 Jan 2009 13:47:20 +0000 (13:47 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Jan 2009 18:19:40 +0000 (10:19 -0800)
commit0ac6053c4db9369d7b0f9b39c30f4fb04405666b
treee0dd9cb3dca0ace4cdeaad9f99f11448531e077d
parentff8cb0fd6f195389aefe55d5dac9927d09a9de54
tty: PTYs set TTY_DO_WRITE_WAKEUP when they don't need to

The write wakeup is done anyway for the poll while DO_WRITE_WAKUP is
cleared, set and managed by the ldisc layer and is no business of the pty
code.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/pty.c