summaryrefslogtreecommitdiff
path: root/net/bluetooth/cmtp/capi.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-03 21:02:09 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2015-04-04 08:50:20 +0300
commitb2ddeb11738464ce8f75c15384a3b8132cb80357 (patch)
treef07671da74f674a8de408eb83eaf3a32823dd971 /net/bluetooth/cmtp/capi.c
parent836a061b19d7b4e2e5e05c2a87a366e33127cf88 (diff)
downloadlinux-b2ddeb11738464ce8f75c15384a3b8132cb80357.tar.xz
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>
Diffstat (limited to 'net/bluetooth/cmtp/capi.c')
-rw-r--r--net/bluetooth/cmtp/capi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/cmtp/capi.c b/net/bluetooth/cmtp/capi.c
index 75bd2c42e3e7..b0c6c6af76ef 100644
--- a/net/bluetooth/cmtp/capi.c
+++ b/net/bluetooth/cmtp/capi.c
@@ -333,7 +333,7 @@ void cmtp_recv_capimsg(struct cmtp_session *session, struct sk_buff *skb)
return;
}
- if (session->flags & (1 << CMTP_LOOPBACK)) {
+ if (session->flags & BIT(CMTP_LOOPBACK)) {
kfree_skb(skb);
return;
}