Commit 8f6cc47a authored by Ralf Bächle's avatar Ralf Bächle

[PATCH] Cosmetic cleanups to sb1250-mac.c

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 85d6dcac
...@@ -2900,15 +2900,15 @@ static void __exit ...@@ -2900,15 +2900,15 @@ static void __exit
sbmac_cleanup_module(void) sbmac_cleanup_module(void)
{ {
struct net_device *dev; struct net_device *dev;
sbmac_port_t port;
int idx; int idx;
for (idx = 0; idx < MAX_UNITS; idx++) { for (idx = 0; idx < MAX_UNITS; idx++) {
struct sbmac_softc *sc;
dev = dev_sbmac[idx]; dev = dev_sbmac[idx];
if (!dev) if (!dev)
continue; continue;
struct sbmac_softc *sc = netdev_priv(dev); sc = netdev_priv(dev);
unregister_netdev(dev); unregister_netdev(dev);
sbmac_uninitctx(sc); sbmac_uninitctx(sc);
free_netdev(dev); free_netdev(dev);
......
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