]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Drop unnecessary adapter->hw dereference in loopback test setup
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 15 Jul 2011 03:06:01 +0000 (03:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 16 Sep 2011 04:18:21 +0000 (21:18 -0700)
commitcf19a522cdf626b5d6b818538435af489f431ffb
tree83cf36b3840fc3b10a1be3c67e7ceafb50057d68
parent89bd101a252e355e80aeaf6280b5b0c8f406ce7c
ixgbe: Drop unnecessary adapter->hw dereference in loopback test setup

This patch drops a set of unnecessary dereferences to the hardware structure
since we already have a local copy of the hardware pointer.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c