tty: remove tty_lock_nested
authorArnd Bergmann <arnd@arndb.de>
Tue, 1 Jun 2010 20:53:08 +0000 (22:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:44 +0000 (13:47 -0700)
commitddcd9fb66ae7f448b517242c10a31d4e17bcad45
tree54c5894f3c1dd45580cd45c621bbeb9174da879b
parent203652192634c1fce5e79df0a8ff2fabfaefd3ab
tty: remove tty_lock_nested

This changes all remaining users of tty_lock_nested
to be non-recursive, which lets us kill this function.
As a consequence, we won't need to keep the lock count
any more, which allows more simplifications later.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/pty.c
drivers/char/selection.c
drivers/char/tty_io.c
drivers/char/tty_ldisc.c
include/linux/tty.h