]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
iwlagn: remove unused variable
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2011 16:41:48 +0000 (09:41 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:49:41 +0000 (15:49 -0400)
Some code was removed, but a variable it used
and that is now unused stayed around, kill it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-sta.c

index b0dcca07ff4588d57961477624593d7d2b5daa22..6ded0174a609b56e47425a6b88f83cc5769e9dbe 100644 (file)
@@ -233,7 +233,6 @@ u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
        struct iwl_station_entry *station;
        int i;
        u8 sta_id = IWL_INVALID_STATION;
-       u16 rate;
 
        if (is_ap)
                sta_id = ctx->ap_sta_id;