aboutsummaryrefslogtreecommitdiff
path: root/hw/pci
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2024-09-18 21:46:35 -0700
committerThomas Huth <thuth@redhat.com>2024-09-24 13:53:35 +0200
commit77e8012823aeb87aada7c6d5a542e175d48deb8c (patch)
treeac94cbe73cabcbe8ae998037f5d6f63e388f2d01 /hw/pci
parent2a7e148641596f2c49c83a3115f10d9aa2826728 (diff)
downloadqemu-77e8012823aeb87aada7c6d5a542e175d48deb8c.zip
qemu-77e8012823aeb87aada7c6d5a542e175d48deb8c.tar.gz
qemu-77e8012823aeb87aada7c6d5a542e175d48deb8c.tar.bz2
hw/pci: 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-29-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/pci')
-rw-r--r--hw/pci/pci-stub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pci/pci-stub.c b/hw/pci/pci-stub.c
index c6950e2..3397d0c 100644
--- a/hw/pci/pci-stub.c
+++ b/hw/pci/pci-stub.c
@@ -47,13 +47,11 @@ void hmp_pcie_aer_inject_error(Monitor *mon, const QDict *qdict)
MSIMessage pci_get_msi_message(PCIDevice *dev, int vector)
{
g_assert_not_reached();
- return (MSIMessage){};
}
uint16_t pci_requester_id(PCIDevice *dev)
{
g_assert_not_reached();
- return 0;
}
/* Required by ahci.c */