[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 28/39] hw/misc: remove break after g_assert_not_reached()
From: |
Pierrick Bouvier |
Subject: |
[PATCH 28/39] hw/misc: remove break after g_assert_not_reached() |
Date: |
Tue, 10 Sep 2024 15:15:55 -0700 |
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
hw/misc/imx6_ccm.c | 1 -
hw/misc/mac_via.c | 2 --
2 files changed, 3 deletions(-)
diff --git a/hw/misc/imx6_ccm.c b/hw/misc/imx6_ccm.c
index b1def7f05b9..fd5d7ce4828 100644
--- a/hw/misc/imx6_ccm.c
+++ b/hw/misc/imx6_ccm.c
@@ -301,7 +301,6 @@ static uint64_t imx6_analog_get_periph_clk(IMX6CCMState
*dev)
default:
/* We should never get there */
g_assert_not_reached();
- break;
}
trace_imx6_analog_get_periph_clk(freq);
diff --git a/hw/misc/mac_via.c b/hw/misc/mac_via.c
index 652395b84fc..af2b2b1af3d 100644
--- a/hw/misc/mac_via.c
+++ b/hw/misc/mac_via.c
@@ -495,7 +495,6 @@ static void via1_rtc_update(MOS6522Q800VIA1State *v1s)
break;
default:
g_assert_not_reached();
- break;
}
return;
}
@@ -556,7 +555,6 @@ static void via1_rtc_update(MOS6522Q800VIA1State *v1s)
break;
default:
g_assert_not_reached();
- break;
}
return;
}
--
2.39.2
- Re: [PATCH 19/39] hw/pci: replace assert(false) with g_assert_not_reached(), (continued)
- [PATCH 23/39] tests/qtest: replace assert(false) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 24/39] accel/tcg: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 26/39] hw/acpi: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 27/39] hw/gpio: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 25/39] block: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 28/39] hw/misc: remove break after g_assert_not_reached(),
Pierrick Bouvier <=
- [PATCH 30/39] hw/pci-host: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 29/39] hw/net: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 31/39] hw/scsi: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 32/39] hw/tpm: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 34/39] target/riscv: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 33/39] target/arm: remove break after g_assert_not_reached(), Pierrick Bouvier, 2024/09/10