summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/xscale/ixp4xx_eth.c
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-03 01:14:20 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-04 15:59:51 -0700
commitf788e322b730e42419ea2090fa3fdd99abcdc6fd (patch)
treea6bb56d53aa17958917a2028d603fbf565bf6b55 /drivers/net/ethernet/xscale/ixp4xx_eth.c
parent5376d95fa2eccbe1d59fe91a3fb2b4c9a6c1c004 (diff)
net: ethernet: smsc: smsc911x: 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 phy 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/xscale/ixp4xx_eth.c')
0 files changed, 0 insertions, 0 deletions