OSDN Git Service

staging: rtl8723bs: core: Remove unnecessary parentheses
authorVatsala Narang <vatsalanarang@gmail.com>
Fri, 29 Mar 2019 20:25:09 +0000 (01:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Mar 2019 08:28:32 +0000 (09:28 +0100)
commit41604797e524ff7fc9ee64c79f33c5bc8a61b7e8
treee0b1e0882b0b9a7f7eba61742479427d83ba4ca0
parente920b8081b61107c7fd6721f0457cd5d6cccb6c7
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>
drivers/staging/rtl8723bs/core/rtw_wlan_util.c