diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-03-26 21:07:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-28 01:38:02 -0400 |
commit | fe1ee45068f71d26e9516ba45d1b05b72708c585 (patch) | |
tree | a0154bd972c500ef75913bd22854ce53ac01b820 /drivers/net/phy/mdio-sun4i.c | |
parent | 33c0431ea67d1f6f3bf061a5cd2a5c52a07bb165 (diff) |
net: sun4i: remove empty MDIO bus reset function
sun4i_mdio_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/net/phy/mdio-sun4i.c')
-rw-r--r-- | drivers/net/phy/mdio-sun4i.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/phy/mdio-sun4i.c b/drivers/net/phy/mdio-sun4i.c index 9367acc84fbb..15bc7f9ea224 100644 --- a/drivers/net/phy/mdio-sun4i.c +++ b/drivers/net/phy/mdio-sun4i.c | |||
@@ -90,11 +90,6 @@ static int sun4i_mdio_write(struct mii_bus *bus, int mii_id, int regnum, | |||
90 | return 0; | 90 | return 0; |
91 | } | 91 | } |
92 | 92 | ||
93 | static int sun4i_mdio_reset(struct mii_bus *bus) | ||
94 | { | ||
95 | return 0; | ||
96 | } | ||
97 | |||
98 | static int sun4i_mdio_probe(struct platform_device *pdev) | 93 | static int sun4i_mdio_probe(struct platform_device *pdev) |
99 | { | 94 | { |
100 | struct device_node *np = pdev->dev.of_node; | 95 | struct device_node *np = pdev->dev.of_node; |
@@ -110,7 +105,6 @@ static int sun4i_mdio_probe(struct platform_device *pdev) | |||
110 | bus->name = "sun4i_mii_bus"; | 105 | bus->name = "sun4i_mii_bus"; |
111 | bus->read = &sun4i_mdio_read; | 106 | bus->read = &sun4i_mdio_read; |
112 | bus->write = &sun4i_mdio_write; | 107 | bus->write = &sun4i_mdio_write; |
113 | bus->reset = &sun4i_mdio_reset; | ||
114 | snprintf(bus->id, MII_BUS_ID_SIZE, "%s-mii", dev_name(&pdev->dev)); | 108 | snprintf(bus->id, MII_BUS_ID_SIZE, "%s-mii", dev_name(&pdev->dev)); |
115 | bus->parent = &pdev->dev; | 109 | bus->parent = &pdev->dev; |
116 | 110 | ||