commit | c772dde343917b0961f75227cfb8c2b2f2b31d24 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Fri Dec 07 06:15:32 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 07 14:35:35 2012 -0500 |
tree | 381f04cf369eae7de070dda85eaa25623bbea0cd | |
parent | ee07c6e7a6f8a25c18f0a6b18152fbd7499245f6 [diff] |
bonding: Fix check for ethtool get_link operation support Since commit 2c60db037034 ('net: provide a default dev->ethtool_ops') all devices have a non-null ethtool_ops. Test only dev->ethtool_ops->get_link in both places where we care. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>