From: Jingoo Han Date: Tue, 2 Sep 2014 01:48:11 +0000 (+0900) Subject: ethernet: arc: remove unused dev X-Git-Tag: firefly_0821_release~176^2~3043^2~171 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4a31498869a944e6c4b2aaab71b8b95482d1da53;p=firefly-linux-kernel-4.4.55.git ethernet: arc: remove unused dev Remove unused 'dev' variable from arc_emac_remove(), since it's not being used any more. Signed-off-by: Jingoo Han Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/arc/emac_main.c b/drivers/net/ethernet/arc/emac_main.c index b35c69e1b147..a7773923a7a0 100644 --- a/drivers/net/ethernet/arc/emac_main.c +++ b/drivers/net/ethernet/arc/emac_main.c @@ -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);