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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user