tty: Remove warning in tty_lock_slave()
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 30 Dec 2014 12:11:11 +0000 (07:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:17:59 +0000 (14:17 -0800)
commiteef15e2a54fad4c2ce3f0a81485dc591ce678f4f
tree29144b22180fdc75cf0c62a3c6bdd9e1f3f0df6d
parent2e4081367bb108db0b20e1cbb09fcb8885f894b3
tty: Remove warning in tty_lock_slave()

Commit 2aff5e2bc62db43e05c814461a08aff0fc2b7fe5 ('tty: Change
tty lock order to master->slave') added a warning which is broken
and unnecessary now that the tty lock has fixed lock subclasses,
added in commit 2febdb632bb96235b94b8fccaf882a78f8f4b2bb
('tty: Preset lock subclass for nested tty locks').

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_mutex.c