From: Jacob Keller Date: Fri, 8 Jun 2012 06:59:17 +0000 (+0000) Subject: ixgbe: clean up ixgbe_get_settings ethtool function X-Git-Tag: v3.6-rc1~125^2~472^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db01896398ae6beba41fc14f1a90d55fd21e6738;p=pandora-kernel.git ixgbe: clean up ixgbe_get_settings ethtool function This patch cleans up the method used for determining the link speed of devices. The old method re-wrote some logic already existing in a mac.ops function which should be used instead. The result is much simpler to understand and removes a strange double-check of logic, as well as reducing code redundancy. Signed-off-by: Jacob Keller Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed