staging: rtl8192u: ieee80211: Replace bit shifting with BIT macro
authorVatsala Narang <vatsalanarang@gmail.com>
Fri, 26 Apr 2019 08:42:01 +0000 (14:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Apr 2019 13:03:42 +0000 (15:03 +0200)
commit8dd4305041250898bc1d664d0a285469073ed962
tree327be89f311e44592b93b9b500129168b3164668
parent675c8a46a8cc8a15f64863fd4c7786df2b5b728b
staging: rtl8192u: ieee80211: Replace bit shifting with BIT macro

Change suggested by coccinelle.

Replace bit shifting on 1 with the BIT(x) macro.
Coccinelle script:

@@
expression c;
@@

-(1 << c)
+BIT(c)

Signed-off-by: Vatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c