Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2015 06:00:44 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278833 - head/sys/dev/sfxge
Message-ID:  <201502160600.t1G60iX9012614@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502160600.t1G60iX9012614>