aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPhilippe Reynes <[email protected]>2016-05-15 23:30:08 +0000
committerDavid S. Miller <[email protected]>2016-05-17 01:51:40 +0000
commit4c4a6b0e8fa24a628cbca3931745d482c66d303e (patch)
treee34fc0ea1bfb790398fb303697ebba52535b2f51 /net/switchdev/switchdev.c
parentnet: also make sch_handle_egress() drop monitor ready (diff)
downloadkernel-4c4a6b0e8fa24a628cbca3931745d482c66d303e.tar.gz
kernel-4c4a6b0e8fa24a628cbca3931745d482c66d303e.zip
net: ethernet: gianfar: 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]> Acked-by: Claudiu Manoil <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions