summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-04-05 09:41:48 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-04-07 15:49:41 -0400
commit68e022dfeb548b48635888d1392f983977293573 (patch)
tree5ef8f8de78b14f059a182b64917640d481c30d5a
parentcebb28ba1ebb00edee4606547d81acf8db0f0532 (diff)
downloadop-kernel-dev-68e022dfeb548b48635888d1392f983977293573.zip
op-kernel-dev-68e022dfeb548b48635888d1392f983977293573.tar.gz
iwlagn: remove unused variable
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>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-sta.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c
index b0dcca0..6ded017 100644
--- a/drivers/net/wireless/iwlwifi/iwl-sta.c
+++ b/drivers/net/wireless/iwlwifi/iwl-sta.c
@@ -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;
OpenPOWER on IntegriCloud