arc_emac: Remove unused pointer to net_device from arc_emac_priv
The pointer to the struct net_device in the private data is only assigned but never used, so delete it. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ff458f6f1e
commit
917ac48d94
@@ -720,7 +720,6 @@ static int arc_emac_probe(struct platform_device *pdev)
|
||||
|
||||
priv = netdev_priv(ndev);
|
||||
priv->dev = &pdev->dev;
|
||||
priv->ndev = ndev;
|
||||
|
||||
priv->regs = devm_ioremap_resource(&pdev->dev, &res_regs);
|
||||
if (IS_ERR(priv->regs)) {
|
||||
|
Reference in New Issue
Block a user