mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
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:

committed by
Anup Patel

parent
601bea45c5
commit
5dc7a6db6f
@@ -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);
|
||||
|
Reference in New Issue
Block a user