ethernet: arc: remove unused dev
authorJingoo Han <jg1.han@samsung.com>
Tue, 2 Sep 2014 01:48:11 +0000 (10:48 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 20:52:58 +0000 (13:52 -0700)
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>
drivers/net/ethernet/arc/emac_main.c

index b35c69e1b147bcff4e726ca562ee9370869ddef2..a7773923a7a06472bd889e9d3cfe59c048d6e8d4 100644 (file)
@@ -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);