svn commit: r298815 - head/sys/dev/wpi

Andriy Voskoboinyk avos at FreeBSD.org
Fri Apr 29 21:38:37 UTC 2016


Author: avos
Date: Fri Apr 29 21:38:36 2016
New Revision: 298815
URL: https://svnweb.freebsd.org/changeset/base/298815

Log:
  wpi: remove unused variable.

Modified:
  head/sys/dev/wpi/if_wpi.c

Modified: head/sys/dev/wpi/if_wpi.c
==============================================================================
--- head/sys/dev/wpi/if_wpi.c	Fri Apr 29 21:29:37 2016	(r298814)
+++ head/sys/dev/wpi/if_wpi.c	Fri Apr 29 21:38:36 2016	(r298815)
@@ -2074,7 +2074,6 @@ wpi_tx_done(struct wpi_softc *sc, struct
 	struct mbuf *m;
 	struct ieee80211_node *ni;
 	struct ieee80211vap *vap;
-	struct ieee80211com *ic;
 	uint32_t status = le32toh(stat->status);
 	int ackfailcnt = stat->ackfailcnt / WPI_NTRIES_DEFAULT;
 
@@ -2094,7 +2093,6 @@ wpi_tx_done(struct wpi_softc *sc, struct
 	m = data->m, data->m = NULL;
 	ni = data->ni, data->ni = NULL;
 	vap = ni->ni_vap;
-	ic = vap->iv_ic;
 
 	/*
 	 * Update rate control statistics for the node.


More information about the svn-src-all mailing list