iwlagn: remove hw_wa_rev
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2011 16:42:07 +0000 (09:42 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:51:39 +0000 (15:51 -0400)
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>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-dev.h

index d700860..55a1d65 100644 (file)
@@ -3688,7 +3688,6 @@ struct ieee80211_ops iwlagn_hw_ops = {
 static void iwl_hw_detect(struct iwl_priv *priv)
 {
        priv->hw_rev = _iwl_read32(priv, CSR_HW_REV);
-       priv->hw_wa_rev = _iwl_read32(priv, CSR_HW_REV_WA_REG);
        priv->rev_id = priv->pci_dev->revision;
        IWL_DEBUG_INFO(priv, "HW Revision ID = 0x%X\n", priv->rev_id);
 }
index b4bfcab..2c2d5b0 100644 (file)
@@ -1254,7 +1254,6 @@ struct iwl_priv {
        /* pci hardware address support */
        void __iomem *hw_base;
        u32  hw_rev;
-       u32  hw_wa_rev;
        u8   rev_id;
 
        /* microcode/device supports multiple contexts */