diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-07-09 11:07:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-09 16:49:21 -0700 |
commit | 917ac48d94dfc9879197e70300230440bd820d3c (patch) | |
tree | 1e25f71b63dbaf889aaa6380cf524053f2775e0f /drivers/net/ethernet/arc/emac_main.c | |
parent | ff458f6f1e464ee5239bcf37af4028c01d0ccf45 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/arc/emac_main.c')
-rw-r--r-- | drivers/net/ethernet/arc/emac_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/arc/emac_main.c b/drivers/net/ethernet/arc/emac_main.c index 6cfcd3826df..fe5cfeace6e 100644 --- a/drivers/net/ethernet/arc/emac_main.c +++ b/drivers/net/ethernet/arc/emac_main.c @@ -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)) { |