aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-05-16 01:35:13 +0200
committerDavid S. Miller <davem@davemloft.net>2016-05-16 21:51:41 -0400
commitb3c40adcc9891a709d30b620f0cabd4679a355b5 (patch)
tree5cf8f4f321880ca94c479987336bced000e9a88c /net/switchdev/switchdev.c
parentcd5f9bb4be950079e911a64972dd7311f0bf8534 (diff)
downloadlinux-b3c40adcc9891a709d30b620f0cabd4679a355b5.tar.gz
linux-b3c40adcc9891a709d30b620f0cabd4679a355b5.tar.bz2
linux-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 <tremyfr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions