projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d46781b
)
ethernet: arc: remove unused dev
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 2 Sep 2014 01:48:11 +0000
(10:48 +0900)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/arc/emac_main.c
b/drivers/net/ethernet/arc/emac_main.c
index b35c69e1b147bcff4e726ca562ee9370869ddef2..a7773923a7a06472bd889e9d3cfe59c048d6e8d4 100644
(file)
--- 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);