tty: drop outdated comments about release_tty() locking
authorEric Biggers <ebiggers@google.com>
Mon, 24 Feb 2020 07:33:59 +0000 (23:33 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 12:08:45 +0000 (13:08 +0100)
commited069827ca70af057caf21c395f76c2c0b82d429
tree700029c40a5a87026560e80b50761661f44c3131
parent2c523b344dfa65a3738e7039832044aa133c75fb
tty: drop outdated comments about release_tty() locking

The current version of the TTY code unlocks the tty_struct(s) before
release_tty() rather than after.  Moreover, tty_unlock_pair() no longer
exists.  Thus, remove the outdated comments regarding tty_unlock_pair().

Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20200224073359.292795-1-ebiggers@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c