diff options
Diffstat (limited to 'drivers/net/3c501.c')
-rw-r--r-- | drivers/net/3c501.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/3c501.c b/drivers/net/3c501.c index 3a44db1ed749..3d1318a3e688 100644 --- a/drivers/net/3c501.c +++ b/drivers/net/3c501.c | |||
@@ -297,8 +297,8 @@ static int __init el1_probe1(struct net_device *dev, int ioaddr) | |||
297 | if (el_debug) | 297 | if (el_debug) |
298 | printk(KERN_DEBUG "%s", version); | 298 | printk(KERN_DEBUG "%s", version); |
299 | 299 | ||
300 | memset(dev->priv, 0, sizeof(struct net_local)); | ||
301 | lp = netdev_priv(dev); | 300 | lp = netdev_priv(dev); |
301 | memset(lp, 0, sizeof(struct net_local)); | ||
302 | spin_lock_init(&lp->lock); | 302 | spin_lock_init(&lp->lock); |
303 | 303 | ||
304 | /* | 304 | /* |