[PATCH v2 2/7] lib: sbi: sse: Remove printf from ssbi_sse_exit()

Andrew Jones ajones at ventanamicro.com
Wed Mar 26 11:27:07 PDT 2025


On Tue, Mar 25, 2025 at 11:26:09AM +0100, Clément Léger wrote:
> This printf is mainly useful for debugging, remove it.
> 
> Signed-off-by: Clément Léger <cleger at rivosinc.com>
> ---
>  lib/sbi/sbi_sse.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/lib/sbi/sbi_sse.c b/lib/sbi/sbi_sse.c
> index 39916d34..47166456 100644
> --- a/lib/sbi/sbi_sse.c
> +++ b/lib/sbi/sbi_sse.c
> @@ -1268,8 +1268,6 @@ void sbi_sse_exit(struct sbi_scratch *scratch)
>  			goto skip;
>  
>  		if (sse_event_state(e) > SBI_SSE_STATE_REGISTERED) {
> -			sbi_printf("Event %d in invalid state at exit",
> -				   info->event_id);
>  			sse_event_set_state(e, SBI_SSE_STATE_UNUSED);
>  		}

Should remove the {} now too.

Reviewed-by: Andrew Jones <ajones at ventanamicro.com>



More information about the opensbi mailing list