Procházet zdrojové kódy

qcacld-3.0: Remove csr_is_concurrent_infra_connected()

Change I913b6e769f282a0f5a0ddb40e54d294ae07deb55 ("qcacld-3.0: Remove
unused concurrency ini parameters") removed the last client of
csr_is_concurrent_infra_connected().  Since it is obsolete, remove it.

Change-Id: Ibec4e93c2da7411544c491e08198b146074a1779
CRs-Fixed: 2371097
Jeff Johnson před 6 roky
rodič
revize
1c9cb873fb
2 změnil soubory, kde provedl 0 přidání a 20 odebrání
  1. 0 1
      core/sme/inc/csr_internal.h
  2. 0 19
      core/sme/src/csr/csr_util.c

+ 0 - 1
core/sme/inc/csr_internal.h

@@ -1001,7 +1001,6 @@ bool csr_is_infra_connected(struct mac_context *mac);
  * Return: session id of the connected infra
  */
 uint8_t csr_get_connected_infra(struct mac_context *mac_ctx);
-bool csr_is_concurrent_infra_connected(struct mac_context *mac);
 bool csr_is_concurrent_session_running(struct mac_context *mac);
 bool csr_is_infra_ap_started(struct mac_context *mac);
 bool csr_is_ibss_started(struct mac_context *mac);

+ 0 - 19
core/sme/src/csr/csr_util.c

@@ -1268,25 +1268,6 @@ uint8_t csr_get_connected_infra(struct mac_context *mac_ctx)
 }
 
 
-bool csr_is_concurrent_infra_connected(struct mac_context *mac)
-{
-	uint32_t i, noOfConnectedInfra = 0;
-
-	bool fRc = false;
-
-	for (i = 0; i < CSR_ROAM_SESSION_MAX; i++) {
-		if (CSR_IS_SESSION_VALID(mac, i)
-		    && csr_is_conn_state_connected_infra(mac, i)) {
-			++noOfConnectedInfra;
-		}
-	}
-
-	/* More than one Infra Sta Connected */
-	if (noOfConnectedInfra > 1)
-		fRc = true;
-	return fRc;
-}
-
 bool csr_is_ibss_started(struct mac_context *mac)
 {
 	uint32_t i;