commit | 2f9709dbdf2777c88b7f1f9a8283119f17f7373e | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Sat Feb 19 22:12:27 2011 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Mon Feb 21 13:13:40 2011 +0100 |
tree | 81b5292b83557683a24f6ee4d297923b6807df58 | |
parent | ea5a43db0f7123c5cb459d8f77454534bc62de4f [diff] |
ax88796: remove memset of private data It's allocated via alloc_netdev, thus already zeroed. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c index c49c3b1..885f04e 100644 --- a/drivers/net/ax88796.c +++ b/drivers/net/ax88796.c
@@ -858,8 +858,6 @@ ei_local = netdev_priv(dev); ax = to_ax_dev(dev); - memset(ax, 0, sizeof(struct ax_device)); - spin_lock_init(&ax->mii_lock); ax->dev = pdev;