linux/drivers/staging
Aya Mahfouz 0c401c1dc9 staging: rtl8192e: 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
..
android staging: android: ion: fix some format strings 2015-03-01 18:46:15 -08:00
board Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
clocking-wizard
comedi staging: comedi: drivers: remove extra parentheses around right bit shift operation 2015-03-06 15:22:41 -08:00
dgap staging: dgap: remove unused variable 2015-03-01 16:57:36 -08:00
dgnc Staging: dgnc: Replace printk() with dev_dbg() 2015-03-01 15:12:14 -08:00
emxx_udc Staging: emxx_udc: Remove custom printk macro ERR 2015-03-06 09:54:26 -08:00
fbtft Staging: fbtft: Remove unnecessary 'out of memory' message. 2015-03-06 09:54:26 -08:00
ft1000 Staging: ft1000: Removed unnecessary braces 2015-02-26 15:15:22 -08:00
fwserial
gdm72xx staging: gdm72xx: Condense two statements into one to improve code readability. 2015-03-01 16:57:36 -08:00
gdm724x
goldfish
gs_fpgaboot staging: Remove <linux/moduleparam.h> header. 2015-03-01 17:09:52 -08:00
i2o Staging: i2o: Fix quoted string split across lines 2015-03-01 15:10:15 -08:00
iio Staging: iio: Added define guards where needed 2015-03-06 09:54:33 -08:00
lustre staging: lustre: llite: remove extra parentheses around right bit shift operation 2015-03-06 15:22:41 -08:00
media staging: media: lirc: remove extra parentheses around right bit shift operation 2015-03-06 15:22:42 -08:00
mt29f_spinand
netlogic
nvec Staging: nvec: Add paragraph to describe kconfig symbol 2015-02-26 17:14:07 -08:00
octeon
octeon-usb
olpc_dcon
ozwpan
panel staging: panel: replace init_timer by setup_timer 2015-02-26 13:12:40 -08:00
rtl8188eu staging: rtl8188eu: remove extra parentheses around right bit shift operations 2015-03-06 15:22:42 -08:00
rtl8192e staging: rtl8192e: remove extra parentheses around right bit shift operation 2015-03-06 15:22:42 -08:00
rtl8192u staging: rtl8192u: ieee80211: replace memset(x,0,ETH_ALEN) by eth_zero_addr(x) 2015-03-06 09:54:34 -08:00
rtl8712 Staging: rtl8712: Eliminate use of _init_timer 2015-03-06 09:54:34 -08:00
rtl8723au staging: rtl8723au: odm.c: Break some lines down to 80 characters 2015-03-06 09:54:32 -08:00
rts5208 Staging: rts5208: Remove braces around single if-statement 2015-02-26 13:01:14 -08:00
skein
slicoss staging: Remove <linux/moduleparam.h> header. 2015-03-01 17:09:52 -08:00
sm7xxfb staging: sm7xxfb: fix remaining CamelCase 2015-02-07 17:37:52 +08:00
speakup Staging: speakup: Remove 'extern' keywords from .h prototypes 2015-03-01 15:04:24 -08:00
ste_rmi4
unisys staging: unisys: Rework Kconfig dependencies 2015-02-26 17:24:42 -08:00
vme staging: Remove <linux/moduleparam.h> header. 2015-03-01 17:09:52 -08:00
vt6655 staging: vt6655: remove unused variable 2015-03-01 15:11:08 -08:00
vt6656 staging: vt6656: replace memcpy by ether_addr_copy 2015-02-26 17:14:07 -08:00
wlan-ng staging: Remove <linux/moduleparam.h> header. 2015-03-01 17:09:52 -08:00
xgifb staging: xgifb: rewrite the right hand side of an assignment 2015-02-26 15:23:46 -08:00
Kconfig Staging drivers patches for 3.20-rc1 2015-02-15 11:30:39 -08:00
Makefile Staging drivers patches for 3.20-rc1 2015-02-15 11:30:39 -08:00
staging.c