From 11e19cfd5bd2992aca5cbc565f632bfad47a7794 Mon Sep 17 00:00:00 2001 From: Marcin Szkudlinski Date: Wed, 30 Aug 2023 13:10:21 +0200 Subject: [PATCH] buf: remove buffer_acquire/buffer_release buffer_acquire and buffer_release are no longer in use remove stubs from the code Signed-off-by: Marcin Szkudlinski --- src/include/sof/audio/buffer.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/include/sof/audio/buffer.h b/src/include/sof/audio/buffer.h index 8658af236584..2691fbbea8e6 100644 --- a/src/include/sof/audio/buffer.h +++ b/src/include/sof/audio/buffer.h @@ -219,17 +219,6 @@ static inline void buffer_stream_writeback(struct comp_buffer *buffer, if (buffer->is_shared) audio_stream_writeback(&buffer->stream, bytes); } -/* stubs for acquire/release for compilation, to be removed at last step */ -__must_check static inline struct comp_buffer __sparse_cache *buffer_acquire( - struct comp_buffer *buffer) -{ - return (struct comp_buffer __sparse_cache *)buffer; -} - -static inline void buffer_release(struct comp_buffer __sparse_cache *buffer) -{ - (void)buffer; -} /* * Attach a new buffer at the beginning of the list. Note, that "head" must