summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_txrx.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2013-09-28 08:00:12 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-10-10 06:05:10 +0200
commitc304fdac6cc0aab1f01e0f2b32c881d908a57a84 (patch)
tree12c3e85b90554dace43709b67c9f2047f5e97dbf /drivers/net/ethernet/intel/i40e/i40e_txrx.h
parenti40e: Link code updates (diff)
downloadlinux-c304fdac6cc0aab1f01e0f2b32c881d908a57a84.tar.xz
linux-c304fdac6cc0aab1f01e0f2b32c881d908a57a84.zip
i40e: Drop unused completed stat
The Tx "completed" stat was part of the original rewrite for detecting Tx hangs. However some time ago in ixgbe I determined that we could just use the packets stat instead. Since then this stat was removed from ixgbe and it serves no purpose in i40e so it can be dropped. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_txrx.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_txrx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_txrx.h b/drivers/net/ethernet/intel/i40e/i40e_txrx.h
index b1d7722d98a7..2fbacaff0445 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_txrx.h
+++ b/drivers/net/ethernet/intel/i40e/i40e_txrx.h
@@ -134,7 +134,6 @@ struct i40e_tx_queue_stats {
u64 bytes;
u64 restart_queue;
u64 tx_busy;
- u64 completed;
u64 tx_done_old;
};