Ver Fonte

qcacld-3.0: Remove unused csr_is_bssid_match() param

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

Change-Id: Ia42ddac9ae070a0d71321eb25f39c038216d25d7
CRs-Fixed: 2255485
Jeff Johnson há 6 anos atrás
pai
commit
0da6fed495
3 ficheiros alterados com 4 adições e 4 exclusões
  1. 2 2
      core/sme/inc/csr_support.h
  2. 1 1
      core/sme/src/csr/csr_util.c
  3. 1 1
      core/sme/src/qos/sme_qos.c

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

@@ -297,8 +297,8 @@ bool csr_is_security_match(tHalHandle hHal, tCsrAuthList *authType,
 		eCsrEncryptionType *negotiatedMCCipher);
 bool csr_is_bss_type_match(eCsrRoamBssType bssType1, eCsrRoamBssType bssType2);
 bool csr_is_bss_type_ibss(eCsrRoamBssType bssType);
-bool csr_is_bssid_match(tHalHandle hHal, struct qdf_mac_addr *pProfBssid,
-		struct qdf_mac_addr *BssBssid);
+bool csr_is_bssid_match(struct qdf_mac_addr *pProfBssid,
+			struct qdf_mac_addr *BssBssid);
 void csr_add_rate_bitmap(uint8_t rate, uint16_t *pRateBitmap);
 bool csr_check_rate_bitmap(uint8_t rate, uint16_t RateBitmap);
 bool csr_rates_is_dot11_rate_supported(tHalHandle hHal, uint8_t rate);

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

@@ -5332,7 +5332,7 @@ bool csr_is_ssid_in_list(tSirMacSSid *pSsid, tCsrSSIDs *pSsidList)
 	return fMatch;
 }
 
-bool csr_is_bssid_match(tHalHandle hHal, struct qdf_mac_addr *pProfBssid,
+bool csr_is_bssid_match(struct qdf_mac_addr *pProfBssid,
 			struct qdf_mac_addr *BssBssid)
 {
 	bool fMatch = false;

+ 1 - 1
core/sme/src/qos/sme_qos.c

@@ -4408,7 +4408,7 @@ static QDF_STATUS sme_qos_process_assoc_complete_ev(tpAniSirGlobal pMac, uint8_t
 		}
 		if ((pSession->assocInfo.pBssDesc) &&
 		    (csr_is_bssid_match
-			     (pMac, (struct qdf_mac_addr *)
+			     ((struct qdf_mac_addr *)
 					&pSession->assocInfo.pBssDesc->bssId,
 			     (struct qdf_mac_addr *) &(((sme_QosAssocInfo *)
 					pEvent_info)->pBssDesc->bssId)))) {