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>
Showing
- drivers/char/pty.c 1 addition, 1 deletiondrivers/char/pty.c
- drivers/char/selection.c 2 additions, 2 deletionsdrivers/char/selection.c
- drivers/char/tty_io.c 20 additions, 21 deletionsdrivers/char/tty_io.c
- drivers/char/tty_ldisc.c 1 addition, 2 deletionsdrivers/char/tty_ldisc.c
- include/linux/tty.h 1 addition, 15 deletionsinclude/linux/tty.h
Loading
Please register or sign in to comment