lib: sbi: sse: Remove printf from sbi_sse_exit()

This printf is mainly useful for debugging, remove it.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
This commit is contained in:
Clément Léger
2025-03-25 11:26:09 +01:00
committed by Anup Patel
parent 601bea45c5
commit 5dc7a6db6f

View File

@@ -1267,11 +1267,8 @@ void sbi_sse_exit(struct sbi_scratch *scratch)
if (e->attrs.hartid != current_hartid())
goto skip;
if (sse_event_state(e) > SBI_SSE_STATE_REGISTERED) {
sbi_printf("Event %d in invalid state at exit",
info->event_id);
if (sse_event_state(e) > SBI_SSE_STATE_REGISTERED)
sse_event_set_state(e, SBI_SSE_STATE_UNUSED);
}
skip:
sse_event_put(e);