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
|
@ -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 New Issue