]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92eaafea9b21d3c1d91e8663059896709adbb3ee
treee4ee82a49df70de5a8c8f183be8e7315dceec80a
parentc33c5804c54f0a5bfee3eb5ddef76ab68b943cbd
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