brcmsmac: Remove unnecessary parentheses
authorVarsha Rao <rvarsha016@gmail.com>
Fri, 1 Jun 2018 02:14:12 +0000 (07:44 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Jun 2018 15:55:11 +0000 (18:55 +0300)
commiteb5d2f3afc0f924e55b508576d7d6366e02b6af2
treed12145eb4a68d535a03e7647617582fa9b0a8bc0
parent6fbef9540af027276deaabc43e1270b5e7952401
brcmsmac: Remove unnecessary parentheses

This patch fixes the clang warning of extraneous parentheses, with the
following coccinelle script.

@@
identifier i;
expression e;
statement s;
@@
if (
-(i == e)
+i == e
 )
s

Suggested-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c