Skip to content

Commit

Permalink
dp: remove dead code from dp_queue
Browse files Browse the repository at this point in the history
the backdoor removed in this commit has never been used
A new backdoor will be introduced in new commit

Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
  • Loading branch information
marcinszkudlinski authored and lgirdwood committed Apr 25, 2024
1 parent 65b8a32 commit 80445dc
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/include/sof/audio/dp_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 80445dc

Please sign in to comment.