diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-07-15 12:05:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-15 16:41:35 -0700 |
commit | 1e8b73896f15b5a83dfb18924169f23450bae064 (patch) | |
tree | a11aca1b4fad9a5575ce069477c6d17742cd54a3 /drivers/net/ethernet/amd/au1000_eth.h | |
parent | a1b198b71686ea7deaf070cbea4ef371937e5bdf (diff) |
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.h | 1 |
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 */ |