svn commit: r312866 - head/sys/dev/sfxge

Andrew Rybchenko arybchik at FreeBSD.org
Fri Jan 27 08:51:50 UTC 2017


Author: arybchik
Date: Fri Jan 27 08:51:48 2017
New Revision: 312866
URL: https://svnweb.freebsd.org/changeset/base/312866

Log:
  sfxge(4): cleanup: remove unused txq_index TxQ control structure member
  
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      2 days

Modified:
  head/sys/dev/sfxge/sfxge_tx.c
  head/sys/dev/sfxge/sfxge_tx.h

Modified: head/sys/dev/sfxge/sfxge_tx.c
==============================================================================
--- head/sys/dev/sfxge/sfxge_tx.c	Fri Jan 27 08:32:50 2017	(r312865)
+++ head/sys/dev/sfxge/sfxge_tx.c	Fri Jan 27 08:51:48 2017	(r312866)
@@ -1838,7 +1838,6 @@ sfxge_tx_qinit(struct sfxge_softc *sc, u
 
 	txq->type = type;
 	txq->evq_index = evq_index;
-	txq->txq_index = txq_index;
 	txq->init_state = SFXGE_TXQ_INITIALIZED;
 	txq->hw_vlan_tci = 0;
 

Modified: head/sys/dev/sfxge/sfxge_tx.h
==============================================================================
--- head/sys/dev/sfxge/sfxge_tx.h	Fri Jan 27 08:32:50 2017	(r312865)
+++ head/sys/dev/sfxge/sfxge_tx.h	Fri Jan 27 08:51:48 2017	(r312866)
@@ -172,7 +172,6 @@ struct sfxge_txq {
 	enum sfxge_flush_state		flush_state;
 	unsigned int			tso_fw_assisted;
 	enum sfxge_txq_type		type;
-	unsigned int			txq_index;
 	unsigned int			evq_index;
 	efsys_mem_t			mem;
 	unsigned int			buf_base_id;


More information about the svn-src-head mailing list