linux/drivers/staging/rtl8192u
Aya Mahfouz 9eb9e69536 staging: rtl8192u: remove extra parentheses around right bit shift operation
Removes extra parentheses around bitwise right shift operation.
The cases handled are when the resultant value is assigned to
a variable or when a shift operation is carried out for a function
argument. The issues were detected and resolved using the following
coccinelle script:

@@
expression e, e1;
constant c;
@@

e =
-(e1
+e1
>>
-c);
+c;

@@
identifier i;
constant c;
type t;
expression e;
@@

t i =
-(e
+e
>>
-c);
+c;

@@
expression e, e1;
identifier f;
constant c;
@@

e1 = f(...,
-(e
+e
>>
-c)
+c
,...);

Some coding style issues were handled manually to avoid
checkpatch warnings and errors.

Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-06 15:22:42 -08:00
..
ieee80211 staging: rtl8192u: ieee80211: replace memset(x,0,ETH_ALEN) by eth_zero_addr(x) 2015-03-06 09:54:34 -08:00
Kconfig
Makefile
authors
changes
copying
r819xU_cmdpkt.c
r819xU_cmdpkt.h
r819xU_firmware.c Staging: rtl8192u: Replace TRUE and FALSE macros 2015-03-01 17:04:43 -08:00
r819xU_firmware.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_phy.c Staging: rtl8192u: Replace TRUE and FALSE macros 2015-03-01 17:04:43 -08:00
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c
r8180_93cx6.h
r8190_rtl8256.c Staging: rtl8192u: Simplify if condition. 2015-02-26 13:46:35 -08:00
r8190_rtl8256.h Staging: rtl8192u: Fix line over 80 characters 2015-03-01 17:07:05 -08:00
r8192U.h Staging: rtl8192u: Remove TRUE and FALSE macros 2015-03-01 17:04:43 -08:00
r8192U_core.c staging: rtl8192u: remove extra parentheses around right bit shift operation 2015-03-06 15:22:42 -08:00
r8192U_dm.c Staging: rtl8192u: Fix duplicate conditional branch 2015-03-06 09:54:34 -08:00
r8192U_dm.h
r8192U_hw.h
r8192U_wx.c Staging: rtl8192u: Replace printk() with netdev_dbg() 2015-03-01 17:07:05 -08:00
r8192U_wx.h Staging: rtl8192u: Fix comments 2015-03-01 17:07:05 -08:00