Searched hist:"1 d1e79f1c6a57dc3750d328ea38a4c385d4edee8" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/dsa/ |
H A D | master.c | diff 1d1e79f1c6a57dc3750d328ea38a4c385d4edee8 Wed Apr 25 14:12:49 CDT 2018 Florian Fainelli <f.fainelli@gmail.com> 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>
|