提交 d9329bc2 编写于 作者: F Fabio Estevam 提交者: 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: NOlof's autobuilder <build@lixom.net>
Signed-off-by: NFabio Estevam <festevam@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册