diff --git a/core/sme/inc/csr_internal.h b/core/sme/inc/csr_internal.h index 97604aca5029..097e3f0b10eb 100644 --- a/core/sme/inc/csr_internal.h +++ b/core/sme/inc/csr_internal.h @@ -1190,17 +1190,6 @@ tListElem *csr_nonscan_pending_ll_next( void csr_purge_vdev_pending_ser_cmd_list(struct mac_context *mac_ctx, uint32_t vdev_id); -/** - * csr_purge_vdev_all_ser_cmd_list() - purge all scan and non-scan - * active and pending cmds for the vdev id - * @mac_ctx: pointer to global MAC context - * @vdev_id : vdev id for which cmds need to be purged - * - * Return : none - */ -void csr_purge_vdev_all_ser_cmd_list(struct mac_context *mac_ctx, - uint32_t vdev_id); - /** * csr_purge_vdev_all_scan_ser_cmd_list() - purge all scan active and pending * cmds for the vdev id diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index 4a31cf307bad..87475ef3d040 100644 --- a/core/sme/src/csr/csr_util.c +++ b/core/sme/src/csr/csr_util.c @@ -418,14 +418,6 @@ void csr_purge_vdev_pending_ser_cmd_list(struct mac_context *mac_ctx, true, false); } -void csr_purge_vdev_all_ser_cmd_list(struct mac_context *mac_ctx, - uint32_t vdev_id) -{ - wlan_serialization_purge_cmd_list_by_vdev_id(mac_ctx->psoc, vdev_id, - true, true, true, - true, true); -} - void csr_purge_vdev_all_scan_ser_cmd_list(struct mac_context *mac_ctx, uint32_t vdev_id) {