From: Pierrick Bouvier Date: Thu, 19 Sep 2024 04:46:26 +0000 (-0700) Subject: hw/scsi: remove break after g_assert_not_reached() X-Git-Tag: pull-vmclock-20250108~138^2~17 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5ef0eacbf6d9c8819cd70ecceea29cd046462a28;p=users%2Fdwmw2%2Fqemu.git hw/scsi: remove break 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 Reviewed-by: Kevin Wolf Signed-off-by: Pierrick Bouvier Message-ID: <20240919044641.386068-20-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth --- diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index 9f02ceea09..6637cfeaf5 100644 --- a/hw/scsi/virtio-scsi.c +++ b/hw/scsi/virtio-scsi.c @@ -357,7 +357,6 @@ static void virtio_scsi_do_one_tmf_bh(VirtIOSCSIReq *req) default: g_assert_not_reached(); - break; } out: