projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b77af26
)
net: lpc_eth: Remove unused 'pldat' variable
author
Fabio Estevam
<
[email protected]
>
Mon, 4 Jul 2016 13:13:21 +0000
(10:13 -0300)
committer
David S. Miller
<
[email protected]
>
Tue, 5 Jul 2016 06:55:29 +0000
(23:55 -0700)
Since commit
f786f3564c4f02d5026
("net: ethernet: lpc_eth: use phydev
from struct net_device") the 'pldat' variable became unused, so
just remove it.
Reported-by: Olof's autobuilder <
[email protected]
>
Signed-off-by: Fabio Estevam <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/nxp/lpc_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/nxp/lpc_eth.c
b/drivers/net/ethernet/nxp/lpc_eth.c
index 01b50ff7c7085f30a7fcf435f0ea0f2e852926ae..4d4ecba0aad9fbce893fc410f38a3b34c5ec9599 100644
(file)
--- a/
drivers/net/ethernet/nxp/lpc_eth.c
+++ b/
drivers/net/ethernet/nxp/lpc_eth.c
@@
-1183,7
+1183,6
@@
static void lpc_eth_set_multicast_list(struct net_device *ndev)
static int lpc_eth_ioctl(struct net_device *ndev, struct ifreq *req, int cmd)
{
- struct netdata_local *pldat = netdev_priv(ndev);
struct phy_device *phydev = ndev->phydev;
if (!netif_running(ndev))