Browse Source

qcacld-3.0: Remove unused csr serialization APIs

Remove unused csr serialization APIs.

Change-Id: I80b126abbb3c52aa854343dcad6834835ae53038
CRs-Fixed: 2573395
Abhishek Singh 5 years ago
parent
commit
f554e7a205
3 changed files with 1 additions and 51 deletions
  1. 0 16
      core/sme/inc/csr_internal.h
  2. 1 1
      core/sme/src/common/sme_api.c
  3. 0 34
      core/sme/src/csr/csr_util.c

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

@@ -1102,12 +1102,6 @@ static inline void csr_roaming_report_diag_event(
 
 QDF_STATUS csr_get_channels_and_power(struct mac_context *mac);
 
-bool csr_nonscan_active_ll_is_list_empty(
-			struct mac_context *mac_ctx,
-			bool inter_locked);
-bool csr_nonscan_pending_ll_is_list_empty(
-			struct mac_context *mac_ctx,
-			bool inter_locked);
 bool csr_nonscan_active_ll_remove_entry(
 			struct mac_context *mac_ctx,
 			tListElem *pEntryToRemove, bool inter_locked);
@@ -1117,16 +1111,6 @@ tListElem *csr_nonscan_active_ll_peek_head(
 tListElem *csr_nonscan_pending_ll_peek_head(
 			struct mac_context *mac_ctx,
 			bool inter_locked);
-tListElem *csr_nonscan_active_ll_remove_head(
-			struct mac_context *mac_ctx,
-			bool inter_locked);
-tListElem *csr_nonscan_pending_ll_remove_head(
-			struct mac_context *mac_ctx,
-			bool inter_locked);
-uint32_t csr_nonscan_pending_ll_count(
-			struct mac_context *mac_ctx);
-uint32_t csr_nonscan_active_ll_count(
-			struct mac_context *mac_ctx);
 tListElem *csr_nonscan_pending_ll_next(
 			struct mac_context *mac_ctx,
 		tListElem *entry, bool inter_locked);

+ 1 - 1
core/sme/src/common/sme_api.c

@@ -8156,7 +8156,7 @@ void sme_get_command_q_status(mac_handle_t mac_handle)
 	} /* if(pTempCmd) */
 
 	sme_err("Currently smeCmdPendingList has %d commands",
-			csr_nonscan_pending_ll_count(mac));
+		wlan_serialization_get_pending_list_count(mac->psoc, false));
 
 }
 

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

@@ -436,28 +436,6 @@ void csr_purge_pdev_all_ser_cmd_list(struct mac_context *mac_ctx)
 	wlan_serialization_purge_all_pdev_cmd(mac_ctx->pdev);
 }
 
-uint32_t csr_nonscan_active_ll_count(struct mac_context *mac_ctx)
-{
-	return wlan_serialization_get_active_list_count(mac_ctx->psoc, false);
-}
-
-uint32_t csr_nonscan_pending_ll_count(struct mac_context *mac_ctx)
-{
-	return wlan_serialization_get_pending_list_count(mac_ctx->psoc, false);
-}
-
-bool csr_nonscan_active_ll_is_list_empty(struct mac_context *mac_ctx,
-					 bool inter_locked)
-{
-	return !wlan_serialization_get_active_list_count(mac_ctx->psoc, false);
-}
-
-bool csr_nonscan_pending_ll_is_list_empty(struct mac_context *mac_ctx,
-					  bool inter_locked)
-{
-	return !wlan_serialization_get_pending_list_count(mac_ctx->psoc, false);
-}
-
 tListElem *csr_nonscan_active_ll_peek_head(struct mac_context *mac_ctx,
 					   bool inter_locked)
 {
@@ -503,18 +481,6 @@ bool csr_nonscan_active_ll_remove_entry(struct mac_context *mac_ctx,
 	return false;
 }
 
-tListElem *csr_nonscan_active_ll_remove_head(struct mac_context *mac_ctx,
-					     bool inter_locked)
-{
-	return csr_nonscan_active_ll_peek_head(mac_ctx, inter_locked);
-}
-
-tListElem *csr_nonscan_pending_ll_remove_head(struct mac_context *mac_ctx,
-					      bool inter_locked)
-{
-	return csr_nonscan_pending_ll_peek_head(mac_ctx, inter_locked);
-}
-
 tListElem *csr_nonscan_pending_ll_next(struct mac_context *mac_ctx,
 				       tListElem *entry, bool inter_locked)
 {