summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_phy.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-08-04 14:22:00 +0530
committerJohn W. Linville <linville@tuxdriver.com>2013-08-05 14:52:44 -0400
commit7bdea96a1bbae75e7922584e3ae37fb9ad6cb79a (patch)
treec768dedfa37a17a35ff0de5f15384ff1a20d418c /drivers/net/wireless/ath/ath9k/ar9003_phy.c
parentd7150908248bc76eff48c16045802c7f0b1cfd74 (diff)
downloadblackbird-op-linux-7bdea96a1bbae75e7922584e3ae37fb9ad6cb79a.tar.gz
blackbird-op-linux-7bdea96a1bbae75e7922584e3ae37fb9ad6cb79a.zip
ath9k: Remove "shared_chain_lnadiv"
This variable is redundant since we can use common->bt_ant_diversity to determine if diversity has to be enabled/disabled. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_phy.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_phy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
index f9fe9c81268f..55021f1a9c35 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
@@ -1420,7 +1420,6 @@ static void ar9003_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable)
if (!AR_SREV_9565(ah))
return;
- ah->shared_chain_lnadiv = enable;
ant_div_ctl1 = ah->eep_ops->get_eeprom(ah, EEP_ANT_DIV_CTL1);
regval = REG_READ(ah, AR_PHY_MC_GAIN_CTRL);
OpenPOWER on IntegriCloud