aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPhilippe Reynes <[email protected]>2016-05-15 23:35:13 +0000
committerDavid S. Miller <[email protected]>2016-05-17 01:51:41 +0000
commitb3c40adcc9891a709d30b620f0cabd4679a355b5 (patch)
tree5cf8f4f321880ca94c479987336bced000e9a88c /net/switchdev/switchdev.c
parentnet: ethernet: gianfar: use phy_ethtool_{get|set}_link_ksettings (diff)
downloadkernel-b3c40adcc9891a709d30b620f0cabd4679a355b5.tar.gz
kernel-b3c40adcc9891a709d30b620f0cabd4679a355b5.zip
net: ethernet: ftgmac100: 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/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions