bonding: Fix check for ethtool get_link operation support
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 7 Dec 2012 06:15:32 +0000 (06:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2012 19:35:35 +0000 (14:35 -0500)
commitc772dde343917b0961f75227cfb8c2b2f2b31d24
tree381f04cf369eae7de070dda85eaa25623bbea0cd
parentee07c6e7a6f8a25c18f0a6b18152fbd7499245f6
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>
drivers/net/bonding/bond_main.c