Commit 12a70fbe authored by Tomas Winkler's avatar Tomas Winkler Committed by David S. Miller

iwlwifi: remove cck_power_index_compensation

cck_power_index_compensation variable was never used
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3edb059a
...@@ -278,7 +278,6 @@ struct iwl_priv { ...@@ -278,7 +278,6 @@ struct iwl_priv {
#define IWL_DEFAULT_TX_POWER 0x0F #define IWL_DEFAULT_TX_POWER 0x0F
s8 user_txpower_limit; s8 user_txpower_limit;
s8 max_channel_txpower_limit; s8 max_channel_txpower_limit;
u32 cck_power_index_compensation;
#ifdef CONFIG_PM #ifdef CONFIG_PM
u32 pm_state[16]; u32 pm_state[16];
......
...@@ -9088,8 +9088,6 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -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->channel_width = IWL_CHANNEL_WIDTH_40MHZ;
priv->valid_antenna = 0x7; /* assume all 3 connected */ priv->valid_antenna = 0x7; /* assume all 3 connected */
priv->ps_mode = IWL_MIMO_PS_NONE; 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); iwl4965_set_rxon_chain(priv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment