mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
iwlwifi: remove cck_power_index_compensation
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>
This commit is contained in:
parent
3edb059a40
commit
12a70fbe57
@ -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];
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user