mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 04:12:08 -05:00
qcacld-3.0: remove the comparison check for noise_floor_weight
noise_floor_weight is defined as unsigned in sap_weight_channel_noise_floor(), but is checked for value less than 0, which will never be true. Change-Id: Idd8215c479eeae2ffd712434aae740f8465a8b45 CRs-Fixed: 2310624
This commit is contained in:
parent
79e3891fac
commit
85eb22c15b
1 changed files with 0 additions and 2 deletions
|
|
@ -831,8 +831,6 @@ static uint32_t sap_weight_channel_noise_floor(struct sap_context *sap_ctx,
|
|||
|
||||
if (noise_floor_weight > softap_nf_weight_local)
|
||||
noise_floor_weight = softap_nf_weight_local;
|
||||
else if (noise_floor_weight < 0)
|
||||
noise_floor_weight = 0;
|
||||
|
||||
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO_HIGH,
|
||||
"In %s, nf=%d, nfwc=%d, nfwl=%d, nfw=%d",
|
||||
|
|
|
|||
Loading…
Reference in a new issue