summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2012-11-02 06:50:41 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-11-15 14:50:24 +0100
commit7af335cc1491fc24633b6b8d0f249393bb977c75 (patch)
tree83f658a7ab9175336fb6694c5438789097b9f82f
parentixgbevf: Fix unnecessary dereference where local var is available. (diff)
downloadlinux-7af335cc1491fc24633b6b8d0f249393bb977c75.tar.xz
linux-7af335cc1491fc24633b6b8d0f249393bb977c75.zip
ixgbevf: Remove the ring adapter pointer value
It is unused - remove it. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
index 1211fa093437..dbdf39bddd4c 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
@@ -58,7 +58,6 @@ struct ixgbevf_ring {
struct ixgbevf_ring *next;
struct net_device *netdev;
struct device *dev;
- struct ixgbevf_adapter *adapter; /* backlink */
void *desc; /* descriptor ring memory */
dma_addr_t dma; /* phys. address of descriptor ring */
unsigned int size; /* length in bytes */