diff options
author | Pavel Machek <pavel@ucw.cz> | 2014-08-25 15:31:16 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-26 02:13:15 +0400 |
commit | a77e4accce126d50d02705c687dd0b5025b63f89 (patch) | |
tree | 624949e292b5d3e3e68a1d77246813774549a923 /drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | |
parent | b209af9981ee6b4274a0a46810dd0210e6520010 (diff) | |
download | linux-a77e4accce126d50d02705c687dd0b5025b63f89.tar.xz |
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. */ |