summaryrefslogtreecommitdiffstats
path: root/drivers/net/ax88796.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2011-02-19 22:12:27 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2011-02-21 13:13:40 +0100
commit2f9709dbdf2777c88b7f1f9a8283119f17f7373e (patch)
tree81b5292b83557683a24f6ee4d297923b6807df58 /drivers/net/ax88796.c
parentax88796: don't use magic ei_status to acces private data (diff)
downloadlinux-2f9709dbdf2777c88b7f1f9a8283119f17f7373e.tar.xz
linux-2f9709dbdf2777c88b7f1f9a8283119f17f7373e.zip
ax88796: remove memset of private data
It's allocated via alloc_netdev, thus already zeroed. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to '')
-rw-r--r--drivers/net/ax88796.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c
index c49c3b108133..885f04ec1518 100644
--- a/drivers/net/ax88796.c
+++ b/drivers/net/ax88796.c
@@ -858,8 +858,6 @@ static int ax_probe(struct platform_device *pdev)
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;