Skip to content

Commit

Permalink
buf: remove buffer_acquire/buffer_release
Browse files Browse the repository at this point in the history
buffer_acquire and buffer_release are no longer in use
remove stubs from the code

Signed-off-by: Marcin Szkudlinski <[email protected]>
  • Loading branch information
marcinszkudlinski authored and lgirdwood committed Sep 29, 2023
1 parent 87148ab commit f9afd6a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/include/sof/audio/buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,16 +220,6 @@ static inline void buffer_stream_writeback(struct comp_buffer *buffer, uint32_t
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 *buffer_acquire(struct comp_buffer *buffer)
{
return (struct comp_buffer *)buffer;
}

static inline void buffer_release(struct comp_buffer *buffer)
{
(void)buffer;
}

/*
* Attach a new buffer at the beginning of the list. Note, that "head" must
Expand Down

0 comments on commit f9afd6a

Please sign in to comment.