diff options
| author | Markus Armbruster <armbru@redhat.com> | 2025-04-07 10:26:42 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2025-04-24 09:33:42 +0200 |
| commit | 8a2b516ba2855c4530388051de2b8d17bc780ea8 (patch) | |
| tree | 1303019c401f96062ce5a35d591ba993d1b79a16 /target/riscv/debug.c | |
| parent | 720a0e417ef0814d90aa884096a643b02ee854dc (diff) | |
| download | focaccia-qemu-8a2b516ba2855c4530388051de2b8d17bc780ea8.tar.gz focaccia-qemu-8a2b516ba2855c4530388051de2b8d17bc780ea8.zip | |
cleanup: Drop pointless return at end of function
A few functions now end with a label. The next commit will clean them up. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250407082643.2310002-3-armbru@redhat.com> [Straightforward conflict with commit 988ad4ccebb6 (hw/loongarch/virt: Fix cpuslot::cpu set at last in virt_cpu_plug()) resolved]
Diffstat (limited to 'target/riscv/debug.c')
| -rw-r--r-- | target/riscv/debug.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target/riscv/debug.c b/target/riscv/debug.c index 9db4048523..198d051521 100644 --- a/target/riscv/debug.c +++ b/target/riscv/debug.c @@ -551,8 +551,6 @@ static void type2_reg_write(CPURISCVState *env, target_ulong index, default: g_assert_not_reached(); } - - return; } /* type 6 trigger */ @@ -667,8 +665,6 @@ static void type6_reg_write(CPURISCVState *env, target_ulong index, default: g_assert_not_reached(); } - - return; } /* icount trigger type */ @@ -849,8 +845,6 @@ static void itrigger_reg_write(CPURISCVState *env, target_ulong index, default: g_assert_not_reached(); } - - return; } static int itrigger_get_adjust_count(CPURISCVState *env) |