nl80211: Remove unused pending_send_action
authorJohannes Berg <johannes.berg@intel.com>
Wed, 11 Aug 2010 10:20:51 +0000 (12:20 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 11 Aug 2010 15:33:02 +0000 (18:33 +0300)
This variable is assigned only once and never tested, so basically
unused.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
src/drivers/driver_nl80211.c

index 802a1ee..7449c3e 100644 (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: