summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bcm63xx_enet.h
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-09-18 16:59:06 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-19 21:39:12 -0400
commit625eb8667d6fcb22e474502133986b2d2838917d (patch)
tree5ac7f80f616053144cfce64c417829d328e1361a /drivers/net/ethernet/broadcom/bcm63xx_enet.h
parent2406e5d4c4c48c9402c0629748c001178ea4c149 (diff)
downloadlinux-625eb8667d6fcb22e474502133986b2d2838917d.tar.bz2
net: ethernet: broadcom: bcm63xx: 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/broadcom/bcm63xx_enet.h')
-rw-r--r--drivers/net/ethernet/broadcom/bcm63xx_enet.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.h b/drivers/net/ethernet/broadcom/bcm63xx_enet.h
index f55af4310085..0a1b7b2e55bd 100644
--- a/drivers/net/ethernet/broadcom/bcm63xx_enet.h
+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.h
@@ -290,7 +290,6 @@ struct bcm_enet_priv {
/* used when a phy is connected (phylib used) */
struct mii_bus *mii_bus;
- struct phy_device *phydev;
int old_link;
int old_duplex;
int old_pause;