diff options
| author | Clément Léger <[email protected]> | 2025-03-25 11:26:09 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-03-27 18:15:10 +0530 |
| commit | 5dc7a6db6f9adb7d18029691bf42d20f4b10d3cd (patch) | |
| tree | 8dd56ba6c258e10aa070016c1b52ff5613770045 | |
| parent | 601bea45c50664310aaf6470ff27935ca09fe987 (diff) | |
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 <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
| -rw-r--r-- | lib/sbi/sbi_sse.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/sbi/sbi_sse.c b/lib/sbi/sbi_sse.c index 39916d34..f959eaa6 100644 --- a/lib/sbi/sbi_sse.c +++ b/lib/sbi/sbi_sse.c @@ -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); |
