diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-04-05 12:42:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-07 15:51:39 -0400 |
commit | bc255930639122d788d1b6ce10d3c01cc2946398 (patch) | |
tree | 0a9bd01ded75071ba44990c0725905b9ea36cf61 | |
parent | 917b6777b45ac49c436570e36eb09d9b8b84c434 (diff) |
iwlagn: remove hw_wa_rev
The variable is never used.
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-agn.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index d700860434a5..55a1d65c4baf 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3688,7 +3688,6 @@ struct ieee80211_ops iwlagn_hw_ops = { | |||
3688 | static void iwl_hw_detect(struct iwl_priv *priv) | 3688 | static void iwl_hw_detect(struct iwl_priv *priv) |
3689 | { | 3689 | { |
3690 | priv->hw_rev = _iwl_read32(priv, CSR_HW_REV); | 3690 | priv->hw_rev = _iwl_read32(priv, CSR_HW_REV); |
3691 | priv->hw_wa_rev = _iwl_read32(priv, CSR_HW_REV_WA_REG); | ||
3692 | priv->rev_id = priv->pci_dev->revision; | 3691 | priv->rev_id = priv->pci_dev->revision; |
3693 | IWL_DEBUG_INFO(priv, "HW Revision ID = 0x%X\n", priv->rev_id); | 3692 | IWL_DEBUG_INFO(priv, "HW Revision ID = 0x%X\n", priv->rev_id); |
3694 | } | 3693 | } |
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index b4bfcab233ab..2c2d5b00a345 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -1254,7 +1254,6 @@ struct iwl_priv { | |||
1254 | /* pci hardware address support */ | 1254 | /* pci hardware address support */ |
1255 | void __iomem *hw_base; | 1255 | void __iomem *hw_base; |
1256 | u32 hw_rev; | 1256 | u32 hw_rev; |
1257 | u32 hw_wa_rev; | ||
1258 | u8 rev_id; | 1257 | u8 rev_id; |
1259 | 1258 | ||
1260 | /* microcode/device supports multiple contexts */ | 1259 | /* microcode/device supports multiple contexts */ |