Pārlūkot izejas kodu

qcacld-3.0: Remove unused csr_get_bss_id_bss_desc() param

The hHal parameter to csr_get_bss_id_bss_desc() is unused, so remove
it.

Change-Id: I41d2a4bc183114cb3f9ed89d7bb53314cd6e483c
CRs-Fixed: 2255486
Jeff Johnson 6 gadi atpakaļ
vecāks
revīzija
20ac1c4c5f

+ 2 - 2
core/sme/inc/csr_support.h

@@ -212,8 +212,8 @@ typedef struct tagRoamingTimerInfo {
 	 ((pIes)->WMMParams.qosInfo & SME_QOS_AP_SUPPORTS_APSD)) || \
 	 ((pIes)->WMMInfoAp.present && (pIes)->WMMInfoAp.uapsd))
 
-bool csr_get_bss_id_bss_desc(tHalHandle hHal, tSirBssDescription *pSirBssDesc,
-		struct qdf_mac_addr *pBssId);
+bool csr_get_bss_id_bss_desc(tSirBssDescription *pSirBssDesc,
+			     struct qdf_mac_addr *pBssId);
 bool csr_is_bss_id_equal(tHalHandle hHal, tSirBssDescription *pSirBssDesc1,
 		tSirBssDescription *pSirBssDesc2);
 eCsrMediaAccessType csr_get_qo_s_from_bss_desc(tHalHandle hHal,

+ 1 - 1
core/sme/src/csr/csr_api_roam.c

@@ -9486,7 +9486,7 @@ QDF_STATUS csr_roam_save_connected_information(tpAniSirGlobal pMac,
 	pConnectProfile->beaconInterval = pSirBssDesc->beaconInterval;
 	if (!pConnectProfile->beaconInterval)
 		sme_err("ERROR: Beacon interval is ZERO");
-	csr_get_bss_id_bss_desc(pMac, pSirBssDesc, &pConnectProfile->bssid);
+	csr_get_bss_id_bss_desc(pSirBssDesc, &pConnectProfile->bssid);
 	if (pSirBssDesc->mdiePresent) {
 		pConnectProfile->MDID.mdiePresent = 1;
 		pConnectProfile->MDID.mobilityDomain =

+ 3 - 4
core/sme/src/csr/csr_util.c

@@ -591,7 +591,7 @@ tListElem *csr_nonscan_pending_ll_next(struct sAniSirGlobal *mac_ctx,
 	return &sme_cmd->Link;
 }
 
-bool csr_get_bss_id_bss_desc(tHalHandle hHal, tSirBssDescription *pSirBssDesc,
+bool csr_get_bss_id_bss_desc(tSirBssDescription *pSirBssDesc,
 			     struct qdf_mac_addr *pBssId)
 {
 	qdf_mem_copy(pBssId, &pSirBssDesc->bssId[0],
@@ -602,7 +602,6 @@ bool csr_get_bss_id_bss_desc(tHalHandle hHal, tSirBssDescription *pSirBssDesc,
 bool csr_is_bss_id_equal(tHalHandle hHal, tSirBssDescription *pSirBssDesc1,
 			 tSirBssDescription *pSirBssDesc2)
 {
-	tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
 	bool fEqual = false;
 	struct qdf_mac_addr bssId1;
 	struct qdf_mac_addr bssId2;
@@ -613,9 +612,9 @@ bool csr_is_bss_id_equal(tHalHandle hHal, tSirBssDescription *pSirBssDesc1,
 		if (!pSirBssDesc2)
 			break;
 
-		if (!csr_get_bss_id_bss_desc(pMac, pSirBssDesc1, &bssId1))
+		if (!csr_get_bss_id_bss_desc(pSirBssDesc1, &bssId1))
 			break;
-		if (!csr_get_bss_id_bss_desc(pMac, pSirBssDesc2, &bssId2))
+		if (!csr_get_bss_id_bss_desc(pSirBssDesc2, &bssId2))
 			break;
 
 		fEqual = qdf_is_macaddr_equal(&bssId1, &bssId2);

+ 1 - 1
core/sme/src/nan/nan_datapath_api.c

@@ -107,7 +107,7 @@ void csr_roam_save_ndi_connected_info(tpAniSirGlobal mac_ctx,
 	connect_profile->beaconInterval = 0;
 	qdf_mem_copy(&connect_profile->Keys, &roam_profile->Keys,
 		     sizeof(roam_profile->Keys));
-	csr_get_bss_id_bss_desc(mac_ctx, bssdesc, &connect_profile->bssid);
+	csr_get_bss_id_bss_desc(bssdesc, &connect_profile->bssid);
 	connect_profile->SSID.length = 0;
 	csr_free_connect_bss_desc(mac_ctx, session_id);
 	connect_profile->qap = false;