Commit 2f9709db authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

ax88796: remove memset of private data

It's allocated via alloc_netdev, thus already zeroed.
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent ea5a43db
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment