From 481b3284c3af070c75452451629c3db6f6d0da10 Mon Sep 17 00:00:00 2001 From: Marcin Szkudlinski Date: Fri, 19 Apr 2024 13:54:01 +0200 Subject: [PATCH] dp: remove dead code from dp_queue the backdoor removed in this commit has never been used A new backdoor will be introduced in new commit Signed-off-by: Marcin Szkudlinski --- src/include/sof/audio/dp_queue.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/include/sof/audio/dp_queue.h b/src/include/sof/audio/dp_queue.h index 877613d141f9..6d160877c662 100644 --- a/src/include/sof/audio/dp_queue.h +++ b/src/include/sof/audio/dp_queue.h @@ -176,18 +176,6 @@ struct sof_source *dp_queue_get_source(struct dp_queue *dp_queue) return &dp_queue->_source_api; } -/** - * @brief this is a backdoor to get complete audio params structure from dp_queue - * it is needed till pipeline 2.0 is ready - * - */ -static inline -struct sof_audio_stream_params *dp_queue_get_audio_params(struct dp_queue *dp_queue) -{ - CORE_CHECK_STRUCT(dp_queue); - return &dp_queue->audio_stream_params; -} - /** * @brief return true if the queue is shared between 2 cores */