Re: [PATCH 7/7] media: qcom: iris: Make iris_destroy_internal_buffer() return void

From: Konrad Dybcio

Date: Wed Apr 22 2026 - 08:33:19 EST


On 4/22/26 1:16 PM, Dikshita Agarwal wrote:
> iris_destroy_internal_buffer() is guaranteed to succeed and never
> reports an error. Returning an int is misleading and forces callers to
> handle a meaningless status value. Convert it to return void to match
> its behavior and simplify callers.
>
> Signed-off-by: Dikshita Agarwal <dikshita.agarwal@xxxxxxxxxxxxxxxx>
> ---

iris_destroy_internal_buffers() can be made void too, now

Konrad