Commit 51cf756c authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

net/tc35815.c: fix compilation

Fix an obvious typo introduced by
commit 298cf9be
(phylib: move to dynamic allocation of struct mii_bus).

<--  snip  -->

...
  CC      drivers/net/tc35815.o
drivers/net/tc35815.c: In function 'tc_mii_init':
drivers/net/tc35815.c:799: error: 'err_out_free_mii_bus' undeclared (first use in this function)
drivers/net/tc35815.c:799: error: (Each undeclared identifier is reported only once
drivers/net/tc35815.c:799: error: for each function it appears in.)
drivers/net/tc35815.c:781: error: label 'err_out_free_mii_bus' used but not defined
make[3]: *** [drivers/net/tc35815.o] Error 1

<--  snip  -->
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9d731d77
...@@ -796,7 +796,7 @@ static int tc_mii_init(struct net_device *dev) ...@@ -796,7 +796,7 @@ static int tc_mii_init(struct net_device *dev)
mdiobus_unregister(lp->mii_bus); mdiobus_unregister(lp->mii_bus);
err_out_free_mdio_irq: err_out_free_mdio_irq:
kfree(lp->mii_bus->irq); kfree(lp->mii_bus->irq);
err_out_free_mii_bus; err_out_free_mii_bus:
mdiobus_free(lp->mii_bus); mdiobus_free(lp->mii_bus);
err_out: err_out:
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment