From: Johan Hedberg Date: Mon, 29 Apr 2013 16:35:42 +0000 (+0300) Subject: Bluetooth: Remove unnecessary L2CAP channel state check X-Git-Tag: v3.11-rc1~64^2~78^2^2~23^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af1c01349ecc2b8ab2c329e4dbd46e9018469bd1;p=pandora-kernel.git 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 Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed