]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1192a77822d74a6862f958a038d43b01aa633123
tree381f04cf369eae7de070dda85eaa25623bbea0cd
parent7adb792601849503f0d2a00d172fcf5c68f79aee
bonding: Fix check for ethtool get_link operation support

Since commit 4705c931d2e7 ('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