Bluetooth: Remove unnecessary check for chan->psm
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 28 Jan 2014 23:28:04 +0000 (15:28 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:39 +0000 (09:51 +0200)
commit7b25c9b3c90150164f36b16cc0107d774eaec68f
tree5701f43ed90a11fa34a55857a63c81aeb3156623
parentd7e5e76b6f4c5848ad3093493bdb226c27d8350e
Bluetooth: Remove unnecessary check for chan->psm

Now that ATT sockets have been converted to use the new L2CAP_CHAN_FIXED
type there is no need to have an extra check for chan->psm in the
l2cap_chan_close function.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c