summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/nxp
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2016-07-04 16:13:21 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-05 09:55:29 +0300
commitd9329bc2226f1c9445bfb61b49f6a1801597f3ee (patch)
tree3bc984ae253dcf6f037c13be50b9ee6298e082dc /drivers/net/ethernet/nxp
parentb77af26a790a2ecfdd4109a3b1328499ea988181 (diff)
downloadlinux-d9329bc2226f1c9445bfb61b49f6a1801597f3ee.tar.xz
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@lixom.net> Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/nxp')
-rw-r--r--drivers/net/ethernet/nxp/lpc_eth.c1
1 files changed, 0 insertions, 1 deletions
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))