forked from luck/tmp_suning_uos_patched
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:
parent
ea5a43db0f
commit
2f9709dbdf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user