From: Oleksij Rempel Date: Sun, 31 Mar 2013 16:28:20 +0000 (+0200) Subject: build fix: remove unused variables X-Git-Tag: 1.3.2~10^2~11 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=9cd8e0e1b11ce21ece5b2e5191fb42b05dae9866;p=open-ath9k-htc-firmware.git build fix: remove unused variables Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index 1df92a2..38f8964 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -908,12 +908,8 @@ static a_int32_t ath_tgt_txbuf_setup(struct ath_softc_tgt *sc, ath_data_hdr_t *dh) { - struct ath_node_target *an = ATH_NODE_TARGET(bf->bf_node); struct ieee80211_frame *wh = ATH_SKB2_WH(bf->bf_skb); - struct ieee80211_node_target *ni = (struct ieee80211_node_target *)an; - struct ieee80211vap_target *vap = ni->ni_vap; - struct ieee80211com_target *ic = &sc->sc_ic; - a_int32_t retval, fragno = 0; + a_int32_t retval; a_uint32_t flags = adf_os_ntohl(dh->flags); ath_tgt_tx_seqno_normal(bf);