OSDN Git Service

Staging: rtl8192e: Remove unneeded brackets.
authorVatika Harlalka <vatikaharlalka@gmail.com>
Sun, 1 Mar 2015 15:58:19 +0000 (21:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 01:09:15 +0000 (17:09 -0800)
commit9f491da91f0081132d00d8d5297ccde112e30a8f
tree499e0673f2ccd5eb2c9c41cfb9f5a968e63aff54
parenta3ed22eabde3d7db5dbb1eced9f83ad0079d257b
Staging: rtl8192e: Remove unneeded brackets.

These were detected with this Coccinelle script:
@@
identifier f1, f2, f3;
constant c;
@@

f1 =
(
- (f2 << f3)
+ f2 << f3
|
- (f2 >> f3)
+ f2 >> f3
|
- (f2 << c)
+ f2 << c
|
- (f2 >> c)
+ f2 >> c
)

Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c