]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: mscc: shorten `x != 0` condition to `x`
authorQuentin Schulz <quentin.schulz@bootlin.com>
Mon, 8 Oct 2018 10:07:27 +0000 (12:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:29:21 +0000 (10:29 -0700)
commit36688fdf5e46a6d663181b5031e2f01ff6a739af
tree9b800c395ea54d5664a71c370637acc6e73a6b0f
parent92eaafea9b21d3c1d91e8663059896709adbb3ee
net: phy: mscc: shorten `x != 0` condition to `x`

`if (x != 0)` is basically a more verbose version of `if (x)` so let's
use the latter so it's consistent throughout the whole driver.

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