summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/b44.h
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-09-18 00:11:34 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-19 21:39:11 -0400
commit51f141bec15aecb2ee5f0db77761dbf219333b93 (patch)
tree94b492787ccc98a2d10d20cbef8060344c74fe65 /drivers/net/ethernet/broadcom/b44.h
parent583c139c71ae1919c7c94b43fb55d6777ef30eaf (diff)
downloadlinux-51f141bec15aecb2ee5f0db77761dbf219333b93.tar.bz2
net: ethernet: broadcom: b44: 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/b44.h')
-rw-r--r--drivers/net/ethernet/broadcom/b44.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/b44.h b/drivers/net/ethernet/broadcom/b44.h
index 65d88d7c5581..89d2cf341163 100644
--- a/drivers/net/ethernet/broadcom/b44.h
+++ b/drivers/net/ethernet/broadcom/b44.h
@@ -404,7 +404,6 @@ struct b44 {
u32 tx_pending;
u8 phy_addr;
u8 force_copybreak;
- struct phy_device *phydev;
struct mii_bus *mii_bus;
int old_link;
struct mii_if_info mii_if;