aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/au1000_eth.h
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-15 12:05:11 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-15 16:41:35 -0700
commit1e8b73896f15b5a83dfb18924169f23450bae064 (patch)
treea11aca1b4fad9a5575ce069477c6d17742cd54a3 /drivers/net/ethernet/amd/au1000_eth.h
parentnet: ethernet: smsc9420: use phy_ethtool_{get|set}_link_ksettings (diff)
downloadlinux-dev-1e8b73896f15b5a83dfb18924169f23450bae064.tar.xz
linux-dev-1e8b73896f15b5a83dfb18924169f23450bae064.zip
net: ethernet: amd: au1000_eth: use phydev from struct net_device
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phydev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes <tremyfr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/au1000_eth.h')
-rw-r--r--drivers/net/ethernet/amd/au1000_eth.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/au1000_eth.h b/drivers/net/ethernet/amd/au1000_eth.h
index ca53024f017f..4c47c2377d74 100644
--- a/drivers/net/ethernet/amd/au1000_eth.h
+++ b/drivers/net/ethernet/amd/au1000_eth.h
@@ -106,7 +106,6 @@ struct au1000_private {
int old_speed;
int old_duplex;
- struct phy_device *phy_dev;
struct mii_bus *mii_bus;
/* PHY configuration */