Skip to content

Commit

Permalink
ethernet: arc: remove unused dev
Browse files Browse the repository at this point in the history
Remove unused 'dev' variable from arc_emac_remove(), since it's
not being used any more.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jingoo Han authored and David S. Miller committed Sep 2, 2014
1 parent d46781b commit 4a31498
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/arc/emac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,6 @@ EXPORT_SYMBOL_GPL(arc_emac_probe);

int arc_emac_remove(struct net_device *ndev)
{
struct device *dev = ndev->dev.parent;
struct arc_emac_priv *priv = netdev_priv(ndev);

phy_disconnect(priv->phy_dev);
Expand Down

0 comments on commit 4a31498

Please sign in to comment.