Skip to content

Commit

Permalink
net: lpc_eth: Remove unused 'pldat' variable
Browse files Browse the repository at this point in the history
Since commit f786f35 ("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>
  • Loading branch information
Fabio Estevam authored and David S. Miller committed Jul 5, 2016
1 parent b77af26 commit d9329bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/nxp/lpc_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit d9329bc

Please sign in to comment.