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

Andrew Rybchenko arybchik at FreeBSD.org
Mon Feb 16 06:00:44 UTC 2015


Author: arybchik
Date: Mon Feb 16 06:00:43 2015
New Revision: 278833
URL: https://svnweb.freebsd.org/changeset/base/278833

Log:
  sfxge: remove unused variable
  
  Sponsored by:   Solarflare Communications, Inc.
  Approved by:    gnn (mentor), glebius

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

Modified: head/sys/dev/sfxge/sfxge_tx.c
==============================================================================
--- head/sys/dev/sfxge/sfxge_tx.c	Mon Feb 16 05:58:32 2015	(r278832)
+++ head/sys/dev/sfxge/sfxge_tx.c	Mon Feb 16 06:00:43 2015	(r278833)
@@ -1280,7 +1280,6 @@ fail:
 void
 sfxge_tx_stop(struct sfxge_softc *sc)
 {
-	const efx_nic_cfg_t *encp;
 	int index;
 
 	index = SFXGE_TX_SCALE(sc);
@@ -1289,7 +1288,6 @@ sfxge_tx_stop(struct sfxge_softc *sc)
 
 	sfxge_tx_qstop(sc, SFXGE_TXQ_IP_CKSUM);
 
-	encp = efx_nic_cfg_get(sc->enp);
 	sfxge_tx_qstop(sc, SFXGE_TXQ_NON_CKSUM);
 
 	/* Tear down the transmit module */


More information about the svn-src-all mailing list