nl80211: Remove unused pending_send_action

This variable is assigned only once and never tested, so basically
unused.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2010-08-11 12:20:51 +02:00 committed by Jouni Malinen
parent 77895cd937
commit f48ffe4364

View file

@ -104,7 +104,6 @@ struct wpa_driver_nl80211_data {
int disable_11b_rates;
unsigned int pending_remain_on_chan:1;
unsigned int pending_send_action:1;
unsigned int added_bridge:1;
unsigned int added_if_into_bridge:1;
@ -5092,7 +5091,6 @@ static int wpa_driver_nl80211_send_action(void *priv, unsigned int freq,
wpa_printf(MSG_DEBUG, "nl80211: Action TX command accepted; "
"cookie 0x%llx", (long long unsigned int) cookie);
drv->send_action_cookie = cookie;
drv->pending_send_action = 1;
ret = 0;
nla_put_failure: