mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
staging: rtl8723bs: core: Remove unnecessary parentheses
Removes unnecessary parentheses while returning an expression.Issue found using coccinelle. Semantic patch used to solve the problem is as follows: @@ expression e; @@ return -( e -) ; Signed-off-by: Vatsala Narang <vatsalanarang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e920b8081b
commit
41604797e5
1 changed files with 1 additions and 1 deletions
|
|
@ -518,7 +518,7 @@ unsigned int decide_wait_for_beacon_timeout(unsigned int bcn_interval)
|
|||
else if ((bcn_interval << 2) > WAIT_FOR_BCN_TO_MAX)
|
||||
return WAIT_FOR_BCN_TO_MAX;
|
||||
else
|
||||
return ((bcn_interval << 2));
|
||||
return bcn_interval << 2;
|
||||
}
|
||||
|
||||
void invalidate_cam_all(struct adapter *padapter)
|
||||
|
|
|
|||
Loading…
Reference in a new issue