OSDN Git Service

net: phy: mscc: remove unneeded parenthesis
authorQuentin Schulz <quentin.schulz@bootlin.com>
Mon, 8 Oct 2018 10:07:26 +0000 (12:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:29:21 +0000 (10:29 -0700)
commitb7d373c500cf4009d78db62329c3b7cfba111713
treee4ee82a49df70de5a8c8f183be8e7315dceec80a
parent96dae01f27fea4e67aabc1f77e78f0333f73e0a7
net: phy: mscc: remove unneeded parenthesis

The == operator precedes the || operator, so we can remove the
parenthesis around (a == b) || (c == d).

The condition is rather explicit and short so removing the parenthesis
definitely does not make it harder to read.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc.c