From f554e7a205845ab5e92414f527e9fecc23badc35 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Mon, 25 Nov 2019 14:18:50 +0530 Subject: [PATCH] qcacld-3.0: Remove unused csr serialization APIs Remove unused csr serialization APIs. Change-Id: I80b126abbb3c52aa854343dcad6834835ae53038 CRs-Fixed: 2573395 --- core/sme/inc/csr_internal.h | 16 ---------------- core/sme/src/common/sme_api.c | 2 +- core/sme/src/csr/csr_util.c | 34 ---------------------------------- 3 files changed, 1 insertion(+), 51 deletions(-) diff --git a/core/sme/inc/csr_internal.h b/core/sme/inc/csr_internal.h index 277572bc28a2..2b70259f0f8b 100644 --- a/core/sme/inc/csr_internal.h +++ b/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); diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 54b1fc82ff78..c29b0572244c 100644 --- a/core/sme/src/common/sme_api.c +++ b/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)); } diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index 51b1e101b3e0..06002ddb67a3 100644 --- a/core/sme/src/csr/csr_util.c +++ b/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) {