ath5k: remove dead source in ath5k_combine_linear_pcdac_curves
This code was commented-out when it was added about a year ago and remains unchanged -- seems as if we don't need it... Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
6fe10e760b
commit
a93b7aec65
1 changed files with 0 additions and 13 deletions
|
@ -2435,19 +2435,6 @@ ath5k_combine_linear_pcdac_curves(struct ath5k_hw *ah, s16* table_min,
|
||||||
pcdac_tmp = pcdac_high_pwr;
|
pcdac_tmp = pcdac_high_pwr;
|
||||||
|
|
||||||
edge_flag = 0x40;
|
edge_flag = 0x40;
|
||||||
#if 0
|
|
||||||
/* If both min and max power limits are in lower
|
|
||||||
* power curve's range, only use the low power curve.
|
|
||||||
* TODO: min/max levels are related to target
|
|
||||||
* power values requested from driver/user
|
|
||||||
* XXX: Is this really needed ? */
|
|
||||||
if (min_pwr < table_max[1] &&
|
|
||||||
max_pwr < table_max[1]) {
|
|
||||||
edge_flag = 0;
|
|
||||||
pcdac_tmp = pcdac_low_pwr;
|
|
||||||
max_pwr_idx = (table_max[1] - table_min[1])/2;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
} else {
|
} else {
|
||||||
pcdac_low_pwr = ah->ah_txpower.tmpL[1]; /* Zeroed */
|
pcdac_low_pwr = ah->ah_txpower.tmpL[1]; /* Zeroed */
|
||||||
pcdac_high_pwr = ah->ah_txpower.tmpL[0];
|
pcdac_high_pwr = ah->ah_txpower.tmpL[0];
|
||||||
|
|
Loading…
Add table
Reference in a new issue