]> git.hungrycats.org Git - linux/commitdiff
[NET]: Delete bogus unregister_netdev() call in sunbmac.
authorDavid S. Miller <davem@nuts.ninka.net>
Thu, 16 Oct 2003 19:27:43 +0000 (12:27 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Thu, 16 Oct 2003 19:27:43 +0000 (12:27 -0700)
drivers/net/sunbmac.c

index 44cb045d3107761fa84241fe8f4675bf0883819e..323dbdd5acbc0f08eee42c524dd68c31b2265987 100644 (file)
@@ -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;