qcacld-3.0: Remove obsolete csr_flush_roam_scan_roam_channel_list

Remove obsolete csr_flush_roam_scan_roam_channel_list().

Change-Id: I535e4e5ce2c934451e0c94b4da825163138fe3b0
CRs-Fixed: 950762
This commit is contained in:
Srinivas Girigowda 2015-12-16 18:05:21 -08:00 • committed by Gerrit - the friendly Code Review server
commit d0bae5f2dc
2 changed files with 0 additions and 25 deletions

View file

@ -1420,29 +1420,6 @@ QDF_STATUS csr_create_bg_scan_roam_channel_list(tpAniSirGlobal pMac,
#endif
#ifdef FEATURE_WLAN_ESE
/*
This function flushes the roam scan cache
*/
QDF_STATUS csr_flush_roam_scan_roam_channel_list(tpAniSirGlobal pMac,
uint8_t sessionId)
{
QDF_STATUS status = QDF_STATUS_SUCCESS;
tpCsrNeighborRoamControlInfo pNeighborRoamInfo
= &pMac->roam.neighborRoamInfo[sessionId];
/* Free up the memory first (if required) */
if (NULL !=
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.
ChannelList) {
qdf_mem_free(pNeighborRoamInfo->roamChannelInfo.
currentChannelListInfo.ChannelList);
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.
ChannelList = NULL;
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.
numOfChannels = 0;
}
return status;
}
/**
* csr_create_roam_scan_channel_list() - create roam scan channel list
* @pMac: Global mac pointer

View file

@ -2859,8 +2859,6 @@ void csr_neighbor_roam_close(tpAniSirGlobal pMac, uint8_t sessionId)
CSR_NEIGHBOR_ROAM_INVALID_CHANNEL_INDEX;
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.
numOfChannels = 0;
pNeighborRoamInfo->roamChannelInfo.currentChannelListInfo.ChannelList =
NULL;
pNeighborRoamInfo->roamChannelInfo.IAPPNeighborListReceived = false;
/* Free the profile.. */