aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2018-04-25 19:12:49 +0000
committerDavid S. Miller <[email protected]>2018-04-27 15:53:02 +0000
commit1d1e79f1c6a57dc3750d328ea38a4c385d4edee8 (patch)
tree6df7a0e723412afe4a9c5f561aa69ac052e90c2a /drivers/net/dsa/dsa_loop.c
parentnet: Allow network devices to have PHY statistics (diff)
downloadkernel-1d1e79f1c6a57dc3750d328ea38a4c385d4edee8.tar.gz
kernel-1d1e79f1c6a57dc3750d328ea38a4c385d4edee8.zip
net: dsa: Do not check for ethtool_ops validity
This is completely redundant with what netdev_set_default_ethtool_ops() does, we are always guaranteed to have a valid dev->ethtool_ops pointer, however, within that structure, not all function calls may be populated, so we still have to check them individually. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions