mac80211: remove sent_ps_buffered

This variable is set once, and tested once.
However, the code path that can set it is
mutually exclusive with the code path that
tests it, so the test is always true. Thus
we also don't need to set it either and can
just remove the variable.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2009-10-30 12:56:02 +01:00
committed by John W. Linville
parent 22403def13
commit ff9458d3ec
2 changed files with 3 additions and 6 deletions

View File

@ -176,7 +176,6 @@ struct ieee80211_rx_data {
struct ieee80211_rate *rate;
unsigned int flags;
int sent_ps_buffered;
int queue;
u32 tkip_iv32;
u16 tkip_iv16;