forked from Mirrors/opensbi
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())
|
if (e->attrs.hartid != current_hartid())
|
||||||
goto skip;
|
goto skip;
|
||||||
|
|
||||||
if (sse_event_state(e) > SBI_SSE_STATE_REGISTERED) {
|
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);
|
sse_event_set_state(e, SBI_SSE_STATE_UNUSED);
|
||||||
}
|
|
||||||
|
|
||||||
skip:
|
skip:
|
||||||
sse_event_put(e);
|
sse_event_put(e);
|
||||||
|
Reference in New Issue
Block a user