qcacld-3.0: Clean up csr_roam_stats_rsp_processor()

csr_roam_stats_rsp_processor() calls cds_get_global_context() but then
doesn't do anything with the result, so remove the unnecessary call.

Change-Id: Ic47dbf971d1eaea4c7c33ff62f9bfb848d9d654b
CRs-Fixed: 2109956
This commit is contained in:
Jeff Johnson
2017-09-13 19:09:32 -07:00
committed by snandini
parent c0db38437e
commit 3023b1e559

View File

@@ -16856,7 +16856,6 @@ void csr_roam_stats_rsp_processor(tpAniSirGlobal pMac, tSirSmeRsp *pSirMsg)
uint8_t counter = 0;
uint8_t *pStats = NULL;
uint32_t length = 0;
void *p_cds_gctx;
int8_t rssi = 0, snr = 0;
uint32_t *pRssi = NULL, *pSnr = NULL;
uint32_t linkCapacity;
@@ -16883,7 +16882,6 @@ void csr_roam_stats_rsp_processor(tpAniSirGlobal pMac, tSirSmeRsp *pSirMsg)
tempMask >>= 1;
counter++;
}
p_cds_gctx = cds_get_global_context();
if (length != 0) {
pRssi = (uint32_t *) pStats;
rssi = (int8_t) *pRssi;