Skip to content
Commit 8dd43050 authored by Vatsala Narang's avatar Vatsala Narang Committed by Greg Kroah-Hartman
Browse files

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: default avatarVatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 675c8a46
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment