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:
committed by
John W. Linville
parent
22403def13
commit
ff9458d3ec
@ -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;
|
||||
|
Reference in New Issue
Block a user