linuxkpi_ieee80211_tx_status: Mark ridx as unused.
__diagused only squelches warnings for variables used under INVARIANTS, it does not apply to custom debug knobs like LINUXKPI_DEBUG_80211. Use __unused instead.
This commit is contained in:
parent
dca7f69632
commit
e2c5ab094b
@ -4209,7 +4209,7 @@ linuxkpi_ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
|
||||
}
|
||||
|
||||
if (ni != NULL) {
|
||||
int ridx __diagused;
|
||||
int ridx __unused;
|
||||
#ifdef LINUXKPI_DEBUG_80211
|
||||
int old_rate;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user