Commit d9329bc2 authored by Fabio Estevam's avatar Fabio Estevam Committed by David S. Miller

net: lpc_eth: Remove unused 'pldat' variable

Since commit f786f356 ("net: ethernet: lpc_eth: use phydev
from struct net_device") the 'pldat' variable became unused, so
just remove it.
Reported-by: default avatarOlof's autobuilder <build@lixom.net>
Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b77af26a
...@@ -1183,7 +1183,6 @@ static void lpc_eth_set_multicast_list(struct net_device *ndev) ...@@ -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) 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; struct phy_device *phydev = ndev->phydev;
if (!netif_running(ndev)) if (!netif_running(ndev))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment