summaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-04-29 18:35:42 +0200
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-06-23 01:23:49 +0200
commitaf1c01349ecc2b8ab2c329e4dbd46e9018469bd1 (patch)
treecc631d9121db930302c51de8d4a56e2567c042ad /kernel/smp.c
parentBluetooth: Remove useless sk variable in l2cap_le_conn_ready (diff)
downloadlinux-af1c01349ecc2b8ab2c329e4dbd46e9018469bd1.tar.xz
linux-af1c01349ecc2b8ab2c329e4dbd46e9018469bd1.zip
Bluetooth: Remove unnecessary L2CAP channel state check
In l2cap_att_channel() we're only interested in the BT_CONNECTED state so this state can directly be passed to l2cap_global_chan_by_scid(). This way there's no need to do any additional state check later. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions