[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1467638001-7183-1-git-send-email-festevam@gmail.com>
Date: Mon, 4 Jul 2016 10:13:21 -0300
From: Fabio Estevam <festevam@...il.com>
To: davem@...emloft.net
Cc: tremyfr@...il.com, netdev@...r.kernel.org,
Fabio Estevam <festevam@...il.com>
Subject: [PATCH] net: lpc_eth: Remove unused 'pldat' variable
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@...om.net>
Signed-off-by: Fabio Estevam <festevam@...il.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
Powered by blists - more mailing lists