diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-06-22 00:32:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-25 11:57:33 -0400 |
commit | 0a91281e5190aa6bc42fa86ba88758add20087fa (patch) | |
tree | 62dd6b37928b0b3dd05e4b5ab78cca532851530d /drivers/net/ethernet/cadence/macb.h | |
parent | 7d904c7bcd51f72579c0c3134a50896c5a3efb9f (diff) |
net: ethernet: macb: 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/cadence/macb.h')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h index 8a13824ef802..36893d8958d4 100644 --- a/drivers/net/ethernet/cadence/macb.h +++ b/drivers/net/ethernet/cadence/macb.h @@ -823,7 +823,6 @@ struct macb { struct macb_or_gem_ops macbgem_ops; struct mii_bus *mii_bus; - struct phy_device *phy_dev; int link; int speed; int duplex; |