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>
This commit is contained in:
Pierrick Bouvier 2024-09-18 21:46:36 -07:00 committed by Thomas Huth
parent 77e8012823
commit f5ba75e1d2
2 changed files with 0 additions and 2 deletions

View File

@ -267,7 +267,6 @@ static void power9_set_irq(void *opaque, int pin, int level)
break;
default:
g_assert_not_reached();
return;
}
}

View File

@ -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) {