From de3f2920f8b60d34100f09095a35d3589f1f7786 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 a1538497a56e..2473572e9620 100644 --- a/src/include/sof/audio/buffer.h +++ b/src/include/sof/audio/buffer.h @@ -220,17 +220,6 @@ static inline void buffer_stream_writeback(struct comp_buffer *buffer, 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