diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2012-06-08 06:59:17 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-06-20 01:37:14 -0700 |
commit | db01896398ae6beba41fc14f1a90d55fd21e6738 (patch) | |
tree | 4d7dbf4c475f10f409d1f3ba3430e573dad70b05 /lib/btree.c | |
parent | a49fda3eaa4fe70fdd14681060a7c6c6246dc927 (diff) |
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 <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions