diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2018-04-25 12:12:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-27 11:53:02 -0400 |
commit | 1d1e79f1c6a57dc3750d328ea38a4c385d4edee8 (patch) | |
tree | 6df7a0e723412afe4a9c5f561aa69ac052e90c2a /drivers/fmc/fmc-debug.c | |
parent | 9994338227179eaf8db6f4493504e108b1fae5fc (diff) | |
download | linux-1d1e79f1c6a57dc3750d328ea38a4c385d4edee8.tar.bz2 |
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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fmc/fmc-debug.c')
0 files changed, 0 insertions, 0 deletions