stmmac: simple cleanups
authorPavel Machek <pavel@ucw.cz>
Mon, 25 Aug 2014 11:31:16 +0000 (13:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2014 22:13:15 +0000 (15:13 -0700)
commita77e4accce126d50d02705c687dd0b5025b63f89
tree624949e292b5d3e3e68a1d77246813774549a923
parentb209af9981ee6b4274a0a46810dd0210e6520010
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>
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c