Bluetooth: Remove socket lock check
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Wed, 22 Feb 2012 15:11:57 +0000 (17:11 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:07:02 +0000 (13:07 +0200)
commitb3fb611ec7b76048cb14600e9a5a9b57e5d913da
treea95447000d733686ff915dcd58d650140541f252
parent6be3655552ee49aa2b5fd20fa1b08f28d0feac86
Bluetooth: Remove socket lock check

Simplify code so that we do not need to check whether socket is locked.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_sock.c