* [PATCH] net: lpc_eth: Remove unused 'pldat' variable
@ 2016-07-04 13:13 Fabio Estevam
2016-07-05 6:56 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2016-07-04 13:13 UTC (permalink / raw)
To: davem; +Cc: tremyfr, netdev, Fabio Estevam
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 <build@lixom.net>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
drivers/net/ethernet/nxp/lpc_eth.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/nxp/lpc_eth.c b/drivers/net/ethernet/nxp/lpc_eth.c
index 01b50ff..4d4ecba 100644
--- 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))
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: lpc_eth: Remove unused 'pldat' variable
2016-07-04 13:13 [PATCH] net: lpc_eth: Remove unused 'pldat' variable Fabio Estevam
@ 2016-07-05 6:56 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-07-05 6:56 UTC (permalink / raw)
To: festevam; +Cc: tremyfr, netdev
From: Fabio Estevam <festevam@gmail.com>
Date: Mon, 4 Jul 2016 10:13:21 -0300
> 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 <build@lixom.net>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-05 6:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-04 13:13 [PATCH] net: lpc_eth: Remove unused 'pldat' variable Fabio Estevam
2016-07-05 6:56 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.