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
Tento commit je obsažen v:
Harprit Chhabada
2018-10-10 16:17:24 -07:00
odevzdal nshrivas
rodič 79e3891fac
revize 85eb22c15b

Zobrazit soubor

@@ -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",