Explorar el Código

qcacld-3.0: Remove unused csr_is_bss_id_equal() param

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

Change-Id: I3d2f748732a32fd12b97466a468b485489bbf55d
CRs-Fixed: 2255487
Jeff Johnson hace 6 años
padre
commit
8aef3f695a
Se han modificado 3 ficheros con 5 adiciones y 5 borrados
  1. 2 2
      core/sme/inc/csr_support.h
  2. 2 2
      core/sme/src/csr/csr_api_roam.c
  3. 1 1
      core/sme/src/csr/csr_util.c

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

@@ -214,8 +214,8 @@ typedef struct tagRoamingTimerInfo {
 
 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);
+bool csr_is_bss_id_equal(tSirBssDescription *pSirBssDesc1,
+			 tSirBssDescription *pSirBssDesc2);
 eCsrMediaAccessType csr_get_qo_s_from_bss_desc(tHalHandle hHal,
 		tSirBssDescription *pSirBssDesc,
 		tDot11fBeaconIEs *pIes);

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

@@ -5743,8 +5743,8 @@ static enum csr_join_state csr_roam_join(tpAniSirGlobal pMac,
 		 */
 
 		if (csr_is_conn_state_connected_infra(pMac, sessionId) &&
-			csr_is_bss_id_equal(pMac,
-				pBssDesc, pSession->pConnectBssDesc) &&
+			csr_is_bss_id_equal(pBssDesc,
+					    pSession->pConnectBssDesc) &&
 			csr_is_ssid_equal(pMac, pSession->pConnectBssDesc,
 				pBssDesc, pIesLocal)) {
 			/*

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

@@ -599,7 +599,7 @@ bool csr_get_bss_id_bss_desc(tSirBssDescription *pSirBssDesc,
 	return true;
 }
 
-bool csr_is_bss_id_equal(tHalHandle hHal, tSirBssDescription *pSirBssDesc1,
+bool csr_is_bss_id_equal(tSirBssDescription *pSirBssDesc1,
 			 tSirBssDescription *pSirBssDesc2)
 {
 	bool fEqual = false;