diff options
author | Vatsala Narang <vatsalanarang@gmail.com> | 2019-04-26 14:12:01 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-30 15:03:42 +0200 |
commit | 8dd4305041250898bc1d664d0a285469073ed962 (patch) | |
tree | 327be89f311e44592b93b9b500129168b3164668 /drivers/staging/mt7621-pci | |
parent | staging: vc04_services: bcm2835-camera: Modify return statement. (diff) | |
download | linux-dev-8dd4305041250898bc1d664d0a285469073ed962.tar.xz linux-dev-8dd4305041250898bc1d664d0a285469073ed962.zip |
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>
Diffstat (limited to 'drivers/staging/mt7621-pci')
0 files changed, 0 insertions, 0 deletions