summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-08-15 21:06:52 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-09-08 19:07:52 +0200
commitb3ed6c63f7d4a51b01a61b10e53a2992ad26aa78 (patch)
tree93cb5de45872beaa90b572444bfecf827967c9fd /net/bluetooth/l2cap_sock.c
parent72c6fb915ff2d30ae14053edee4f0d30019bad76 (diff)
downloadblackbird-op-linux-b3ed6c63f7d4a51b01a61b10e53a2992ad26aa78.tar.gz
blackbird-op-linux-b3ed6c63f7d4a51b01a61b10e53a2992ad26aa78.zip
Bluetooth: Remove unnecessary l2cap_chan_unlock before l2cap_chan_add
The l2cap_chan_add() function doesn't require the channel to be unlocked. It only requires the l2cap_conn to be unlocked. Therefore, it's unnecessary to unlock a channel before calling l2cap_chan_add(). This patch removes such unnecessary unlocking from the l2cap_chan_connect() function. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud