summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/arc
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-09-02 10:48:11 +0900
committerDavid S. Miller <davem@davemloft.net>2014-09-02 13:52:58 -0700
commit4a31498869a944e6c4b2aaab71b8b95482d1da53 (patch)
treec2609eb154a887fece5d456c77bb87ad6f346f4c /drivers/net/ethernet/arc
parentd46781bc8803b11d4f9540663ce6369fa0d28c58 (diff)
downloadlinux-4a31498869a944e6c4b2aaab71b8b95482d1da53.tar.gz
linux-4a31498869a944e6c4b2aaab71b8b95482d1da53.tar.bz2
linux-4a31498869a944e6c4b2aaab71b8b95482d1da53.zip
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 <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/arc')
-rw-r--r--drivers/net/ethernet/arc/emac_main.c1
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 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);