Re: [PATCH v1 02/13] kho: Convert __kho_abort() to return void
From: Pratyush Yadav
Date: Fri Nov 14 2025 - 11:32:35 EST
On Fri, Nov 14 2025, Pasha Tatashin wrote:
> The internal helper __kho_abort() always returns 0 and has no failure
> paths. Its return value is ignored by __kho_finalize and checked
> needlessly by kho_abort.
>
> Change the return type to void to reflect that this function cannot
> fail, and simplify kho_abort by removing dead error handling code.
>
> Signed-off-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
Reviewed-by: Pratyush Yadav <pratyush@xxxxxxxxxx>
[...]
--
Regards,
Pratyush Yadav