commit | b2ddeb11738464ce8f75c15384a3b8132cb80357 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Fri Apr 03 11:02:09 2015 -0700 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Sat Apr 04 08:50:20 2015 +0300 |
tree | f07671da74f674a8de408eb83eaf3a32823dd971 | |
parent | 836a061b19d7b4e2e5e05c2a87a366e33127cf88 [diff] [blame] |
Bluetooth: cmtp: Use BIT(x) instead of (1 << x) Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
diff --git a/net/bluetooth/cmtp/capi.c b/net/bluetooth/cmtp/capi.c index 75bd2c4..b0c6c6a 100644 --- a/net/bluetooth/cmtp/capi.c +++ b/net/bluetooth/cmtp/capi.c
@@ -333,7 +333,7 @@ return; } - if (session->flags & (1 << CMTP_LOOPBACK)) { + if (session->flags & BIT(CMTP_LOOPBACK)) { kfree_skb(skb); return; }