diff options
author | Pavel Machek | 2014-08-25 13:31:16 +0200 |
---|---|---|
committer | David S. Miller | 2014-08-26 00:13:15 +0200 |
commit | a77e4accce126d50d02705c687dd0b5025b63f89 (patch) | |
tree | 624949e292b5d3e3e68a1d77246813774549a923 /drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | |
parent | r8152: check code with checkpatch.pl (diff) | |
download | kernel-qcow2-linux-a77e4accce126d50d02705c687dd0b5025b63f89.tar.gz kernel-qcow2-linux-a77e4accce126d50d02705c687dd0b5025b63f89.tar.xz kernel-qcow2-linux-a77e4accce126d50d02705c687dd0b5025b63f89.zip |
stmmac: simple cleanups
This adds simple cleanups for stmmac, removing test we know is always
true, fixing whitespace, and moving code out of if().
Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c index a5b1e1b776fe..8dd040827c69 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c @@ -253,7 +253,7 @@ int stmmac_mdio_register(struct net_device *ndev) } /* - * If we're going to bind the MAC to this PHY bus, + * If we're going to bind the MAC to this PHY bus, * and no PHY number was provided to the MAC, * use the one probed here. */ |