aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-06-25 21:09:01 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-28 09:12:35 -0400
commit542808f5f68810b579c3b9a44d88dbdbe5e68ac2 (patch)
tree6fc38dcc73a2c611ccdbc2735adc7913f45fbd88 /drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c
parent802fe79e15ed2c5444a3da60792cc6ddb93bb2b3 (diff)
net: ethernet: r6040: 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/samsung/sxgbe/sxgbe_ethtool.c')
0 files changed, 0 insertions, 0 deletions