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>
This commit is contained in:
parent
d46781bc88
commit
4a31498869
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue