diff options
author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2024-09-18 21:46:33 -0700 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-09-24 13:53:35 +0200 |
commit | f1912e48244816d071b2836052c54845ba57343c (patch) | |
tree | 60cc83168e74a4b906b0d07a75ba0b8d1fdd0c24 | |
parent | 59a749a4d2c5df586540fed106ef620446e7a4f1 (diff) | |
download | qemu-f1912e48244816d071b2836052c54845ba57343c.zip qemu-f1912e48244816d071b2836052c54845ba57343c.tar.gz qemu-f1912e48244816d071b2836052c54845ba57343c.tar.bz2 |
hw/hyperv: 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: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240919044641.386068-27-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r-- | hw/hyperv/hyperv_testdev.c | 1 | ||||
-rw-r--r-- | hw/hyperv/vmbus.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/hw/hyperv/hyperv_testdev.c b/hw/hyperv/hyperv_testdev.c index ef50e49..a630ca7 100644 --- a/hw/hyperv/hyperv_testdev.c +++ b/hw/hyperv/hyperv_testdev.c @@ -89,7 +89,6 @@ static TestSintRoute *sint_route_find(HypervTestDev *dev, } } g_assert_not_reached(); - return NULL; } static void sint_route_destroy(HypervTestDev *dev, diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c index 03f415b..b36bd3d 100644 --- a/hw/hyperv/vmbus.c +++ b/hw/hyperv/vmbus.c @@ -1890,7 +1890,6 @@ static bool complete_create_gpadl(VMBus *vmbus) } g_assert_not_reached(); - return false; } static void handle_gpadl_teardown(VMBus *vmbus, @@ -1947,7 +1946,6 @@ static bool complete_teardown_gpadl(VMBus *vmbus) } g_assert_not_reached(); - return false; } static void handle_open_channel(VMBus *vmbus, vmbus_message_open_channel *msg, @@ -2021,7 +2019,6 @@ static bool complete_open_channel(VMBus *vmbus) } g_assert_not_reached(); - return false; } static void vdev_reset_on_close(VMBusDevice *vdev) |