CC [M] drivers/net/wireless/rt2x00/rt2800lib.o
drivers/net/wireless/rt2x00/rt2800lib.c: In function 'rt2800_ampdu_action':
drivers/net/wireless/rt2x00/rt2800lib.c:2821: warning: unused variable 'rt2x00dev'
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
struct ieee80211_sta *sta,
u16 tid, u16 *ssn)
{
- struct rt2x00_dev *rt2x00dev = hw->priv;
int ret = 0;
switch (action) {
case IEEE80211_AMPDU_TX_OPERATIONAL:
break;
default:
- WARNING(rt2x00dev, "Unknown AMPDU action\n");
+ WARNING((struct rt2x00_dev *)hw->priv, "Unknown AMPDU action\n");
}
return ret;