tty: Don't protect atomic operation with mutex
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Mar 2013 20:44:39 +0000 (16:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:46:31 +0000 (16:46 -0700)
commit8842dda2366d3d0c97646102768831f9b0ffd712
tree4288315abbbe71ee92b55e69ddb70b48d6af75d4
parentfc575ee6eadbcac757e3216e230b6fab1ba5b140
tty: Don't protect atomic operation with mutex

test_bit() is already atomic; drop mutex lock/unlock.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c