diff options
| author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2024-09-18 21:46:36 -0700 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2024-09-24 13:53:35 +0200 |
| commit | f5ba75e1d20e87011351c51cab8e2623a9451caf (patch) | |
| tree | 138cdf5635916e7f42121c0e140456fe79bc9126 | |
| parent | 77e8012823aeb87aada7c6d5a542e175d48deb8c (diff) | |
| download | focaccia-qemu-f5ba75e1d20e87011351c51cab8e2623a9451caf.tar.gz focaccia-qemu-f5ba75e1d20e87011351c51cab8e2623a9451caf.zip | |
hw/ppc: remove return after g_assert_not_reached()
This patch is part of a series that moves towards a consistent use of g_assert_not_reached() rather than an ad hoc mix of different assertion mechanisms. Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20240919044641.386068-30-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to '')
| -rw-r--r-- | hw/ppc/ppc.c | 1 | ||||
| -rw-r--r-- | hw/ppc/spapr_events.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c index e6fa5580c0..fde4619412 100644 --- a/hw/ppc/ppc.c +++ b/hw/ppc/ppc.c @@ -267,7 +267,6 @@ static void power9_set_irq(void *opaque, int pin, int level) break; default: g_assert_not_reached(); - return; } } diff --git a/hw/ppc/spapr_events.c b/hw/ppc/spapr_events.c index 38ac1cb786..4dbf8e2e2e 100644 --- a/hw/ppc/spapr_events.c +++ b/hw/ppc/spapr_events.c @@ -646,7 +646,6 @@ static void spapr_hotplug_req_event(uint8_t hp_id, uint8_t hp_action, * that don't support them */ g_assert_not_reached(); - return; } if (hp_id == RTAS_LOG_V6_HP_ID_DRC_COUNT) { |