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:
parent
77e8012823
commit
f5ba75e1d2
@ -267,7 +267,6 @@ static void power9_set_irq(void *opaque, int pin, int level)
|
||||
break;
|
||||
default:
|
||||
g_assert_not_reached();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user