aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/utils.c
diff options
context:
space:
mode:
authorPhilippe Reynes <[email protected]>2016-06-25 21:05:15 +0000
committerDavid S. Miller <[email protected]>2016-06-28 13:12:36 +0000
commitce554d32eb16c459221a06ee8c93f39d7d648ef4 (patch)
tree4858190ad2a2d2b65271f4ca6d17fe55deb1d22d /net/core/utils.c
parentnet: ethernet: sxgbe: use phy_ethtool_{get|set}_link_ksettings (diff)
downloadkernel-ce554d32eb16c459221a06ee8c93f39d7d648ef4.tar.gz
kernel-ce554d32eb16c459221a06ee8c93f39d7d648ef4.zip
net: ethernet: dwc_eth_qos: 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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions