ax88796: remove memset of private data

It's allocated via alloc_netdev, thus already zeroed.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2011-02-19 22:12:27 +01:00
parent ea5a43db0f
commit 2f9709dbdf

View File

@ -858,8 +858,6 @@ static int ax_probe(struct platform_device *pdev)
ei_local = netdev_priv(dev); ei_local = netdev_priv(dev);
ax = to_ax_dev(dev); ax = to_ax_dev(dev);
memset(ax, 0, sizeof(struct ax_device));
spin_lock_init(&ax->mii_lock); spin_lock_init(&ax->mii_lock);
ax->dev = pdev; ax->dev = pdev;