提交 2f9709db 编写于 作者: M Marc Kleine-Budde

ax88796: remove memset of private data

It's allocated via alloc_netdev, thus already zeroed.
Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册