From d9329bc2226f1c9445bfb61b49f6a1801597f3ee Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 4 Jul 2016 10:13:21 -0300 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 Signed-off-by: Fabio Estevam Signed-off-by: David S. Miller --- 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 01b50ff7c708..4d4ecba0aad9 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)) -- 2.30.2