]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
iwlwifi: remove cck_power_index_compensation
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 25 Oct 2007 09:15:31 +0000 (17:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:13 +0000 (15:03 -0800)
cck_power_index_compensation variable was never used

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-priv.h
drivers/net/wireless/iwlwifi/iwl4965-base.c

index 6b490d08fea93aefc36446ed8cdd759b5b9abaa7..f43679a42ae0838ccf4e8731347a83630edb0607 100644 (file)
@@ -278,7 +278,6 @@ struct iwl_priv {
 #define IWL_DEFAULT_TX_POWER 0x0F
        s8 user_txpower_limit;
        s8 max_channel_txpower_limit;
-       u32 cck_power_index_compensation;
 
 #ifdef CONFIG_PM
        u32 pm_state[16];
index fa11eb95699b65f17b1b8743ee82e01f0ebd96a6..60174202ca1eb743ed09b8c7151509f226bf3fd4 100644 (file)
@@ -9088,8 +9088,6 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
        priv->channel_width = IWL_CHANNEL_WIDTH_40MHZ;
        priv->valid_antenna = 0x7;      /* assume all 3 connected */
        priv->ps_mode = IWL_MIMO_PS_NONE;
-       priv->cck_power_index_compensation = iwl_read32(
-               priv, CSR_HW_REV_WA_REG);
 
        iwl4965_set_rxon_chain(priv);