]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:03:07 +0000 (22:03 +0800)
commitd818c47f6b0f019949f56bd35ce353ff699bc641
tree562c667b75f80dd7c46ba589a9a6ae23224b2b0c
parentda3748df7b6d50cf73ec55af9625d3b656a0a7f4
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.

(cherry picked from commit 35c7f8a1baa6245a0e66d6ee72502d96cbc2aa19)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_ethtool.c