|
@@ -2409,7 +2409,7 @@ static void rs_get_rate(void *priv_r, struct ieee80211_sta *sta, void *priv_sta,
|
|
|
|
|
|
struct sk_buff *skb = txrc->skb;
|
|
struct sk_buff *skb = txrc->skb;
|
|
struct ieee80211_supported_band *sband = txrc->sband;
|
|
struct ieee80211_supported_band *sband = txrc->sband;
|
|
- struct iwl_priv *priv = (struct iwl_priv *)priv_r;
|
|
|
|
|
|
+ struct iwl_priv *priv __maybe_unused = (struct iwl_priv *)priv_r;
|
|
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
|
|
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
|
|
struct iwl_lq_sta *lq_sta = priv_sta;
|
|
struct iwl_lq_sta *lq_sta = priv_sta;
|
|
int rate_idx;
|
|
int rate_idx;
|