From bc502553a62ad7eb97e606a19ca70fc55f81027a Mon Sep 17 00:00:00 2001 From: Andriy Voskoboinyk Date: Fri, 29 Apr 2016 21:38:36 +0000 Subject: [PATCH] wpi: remove unused variable. --- sys/dev/wpi/if_wpi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c index e435096d8b3e..3083316cdc82 100644 --- a/sys/dev/wpi/if_wpi.c +++ b/sys/dev/wpi/if_wpi.c @@ -2074,7 +2074,6 @@ wpi_tx_done(struct wpi_softc *sc, struct wpi_rx_desc *desc) 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 wpi_rx_desc *desc) 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.