mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
1 parent
d46781bc88
commit
4a31498869
1 file changed
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user