mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
net: mvmdio: remove empty MDIO bus reset function
orion_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>
This commit is contained in:
parent
5cab2733b9
commit
ca7efe819c
1 changed files with 0 additions and 6 deletions
|
@ -167,11 +167,6 @@ static int orion_mdio_write(struct mii_bus *bus, int mii_id,
|
|||
return ret;
|
||||
}
|
||||
|
||||
static int orion_mdio_reset(struct mii_bus *bus)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static irqreturn_t orion_mdio_err_irq(int irq, void *dev_id)
|
||||
{
|
||||
struct orion_mdio_dev *dev = dev_id;
|
||||
|
@ -209,7 +204,6 @@ static int orion_mdio_probe(struct platform_device *pdev)
|
|||
bus->name = "orion_mdio_bus";
|
||||
bus->read = orion_mdio_read;
|
||||
bus->write = orion_mdio_write;
|
||||
bus->reset = orion_mdio_reset;
|
||||
snprintf(bus->id, MII_BUS_ID_SIZE, "%s-mii",
|
||||
dev_name(&pdev->dev));
|
||||
bus->parent = &pdev->dev;
|
||||
|
|
Loading…
Reference in a new issue