summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl4965-base.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2007-10-25 11:15:31 +0200
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:03:13 +0100
commit12a70fbe57b714a235e68c261267406d6b614574 (patch)
tree43e341b64ac32e3fce09d75b3ce64f103d2cf64c /drivers/net/wireless/iwlwifi/iwl4965-base.c
parentiwlwifi: remove late null-check and duplicate bug_on (diff)
downloadlinux-12a70fbe57b714a235e68c261267406d6b614574.tar.xz
linux-12a70fbe57b714a235e68c261267406d6b614574.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index fa11eb95699b..60174202ca1e 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -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);