diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-03-27 02:07:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-28 06:38:02 +0100 |
commit | aa7e0ed4a15dc8d5f278fc71e32ca60c4206f090 (patch) | |
tree | 801c670aa58b257272c387ad944f4a218c9cf5f5 /drivers | |
parent | net: sun4i: remove empty MDIO bus reset function (diff) | |
download | linux-aa7e0ed4a15dc8d5f278fc71e32ca60c4206f090.tar.xz linux-aa7e0ed4a15dc8d5f278fc71e32ca60c4206f090.zip |
net: ftgmac100: remove empty MDIO bus reset function
ftgmac100_mdiobus_reset() does nothing useful and is optional for the
MDIO bus code, so let's just remove it.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/faraday/ftgmac100.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index c11ecbc98149..68069eabc4f8 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c @@ -940,11 +940,6 @@ static int ftgmac100_mdiobus_write(struct mii_bus *bus, int phy_addr, return -EIO; } -static int ftgmac100_mdiobus_reset(struct mii_bus *bus) -{ - return 0; -} - /****************************************************************************** * struct ethtool_ops functions *****************************************************************************/ @@ -1262,7 +1257,6 @@ static int ftgmac100_probe(struct platform_device *pdev) priv->mii_bus->priv = netdev; priv->mii_bus->read = ftgmac100_mdiobus_read; priv->mii_bus->write = ftgmac100_mdiobus_write; - priv->mii_bus->reset = ftgmac100_mdiobus_reset; priv->mii_bus->irq = priv->phy_irq; for (i = 0; i < PHY_MAX_ADDR; i++) |