Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.ninka.net>2003-10-16 12:27:43 -0700
committerStephen Hemminger <shemminger@osdl.org>2003-10-16 12:27:43 -0700
commitbc20be4bdce700367be4c6bfd855c8b8c4cb45a5 (patch)
tree94a8bf24a45c8e61a056e3072504d93dd3917998
parentbe89883ec1b04f4d3fd5461de86149e803c1314e (diff)
[NET]: Delete bogus unregister_netdev() call in sunbmac.
-rw-r--r--drivers/net/sunbmac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/sunbmac.c b/drivers/net/sunbmac.c
index 44cb045d3107..323dbdd5acbc 100644
--- a/drivers/net/sunbmac.c
+++ b/drivers/net/sunbmac.c
@@ -1243,8 +1243,6 @@ fail_and_cleanup:
bp->bmac_block,
bp->bblock_dvma);
- unregister_netdev(dev);
-
/* This also frees the co-located 'dev->priv' */
free_netdev(dev);
return -ENODEV;