Staging: lustre: libcfs: Prefer using the BIT macro
authorShraddha Barke <shraddha.6596@gmail.com>
Thu, 10 Sep 2015 16:30:31 +0000 (22:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:57 +0000 (18:24 -0700)
commit4e6aa99b87c3cd9e2487b275a7c47b37bee33fb5
tree968a16a35f98e8620a7e9d2e1283d5e78900c483
parent4c021dc0b8722365e9aee06d7a2213b5d93075c7
Staging: lustre: libcfs: Prefer using the BIT macro

This patch replaces bit shifting on 1 with the BIT(x) macro

This was done with coccinelle:
@@ int g; @@

-(1 << g)
+BIT(g)

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/hash.c