Commit c89ca085 authored by Tina Johnson's avatar Tina Johnson Committed by Greg Kroah-Hartman

drivers: staging: rtl8723au: hal: Removed unnecessary parentheses

Parentheses around the right side of an assignment statement are
unnecessary and hence removed. Coccinelle was used to produce the
patch:

@rule1@
identifier x,y;
constant c;
@@

(

 x =
-(
 y << c
-)
 ;
|
 x =
-(
 y >> c
-)
 ;
|
 x =
-(
 y + c
-)
 ;
|
 x =
-(
 y - c
-)
 ;

)
Signed-off-by: default avatarTina Johnson <tinajohnson.1234@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 143ff119
...@@ -222,7 +222,7 @@ odm_TXPowerTrackingCallback_ThermalMeter_92C(struct rtw_adapter *Adapter) ...@@ -222,7 +222,7 @@ odm_TXPowerTrackingCallback_ThermalMeter_92C(struct rtw_adapter *Adapter)
} }
if (CCK_index > (CCK_TABLE_SIZE-1)) if (CCK_index > (CCK_TABLE_SIZE-1))
CCK_index = (CCK_TABLE_SIZE-1); CCK_index = CCK_TABLE_SIZE-1;
else if (CCK_index < 0) else if (CCK_index < 0)
CCK_index = 0; CCK_index = 0;
} }
......
Markdown is supported
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