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)
commit35c7f8a1baa6245a0e66d6ee72502d96cbc2aa19
tree83cf36b3840fc3b10a1be3c67e7ceafb50057d68
parent4cc6df29d9f4cf90dad8167cbbf5c21810ae56cf
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