hw/i386/pc: Remove pc_compat_4_0[] array
The pc_compat_4_0[] array was only used by the pc-q35-4.0, pc-q35-4.0.1 and pc-i440fx-4.0 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20260307154202.86309-4-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Apr 29, 2025 at 17:52 UTC
aa711b58e9224e388d79495961fc62a42be80ba7
2 files changed
-6
hw/i386/pc.c
-3
@@ -177,9 +177,6 @@ const size_t pc_compat_4_2_len = G_N_ELEMENTS(pc_compat_4_2);
177
GlobalProperty pc_compat_4_1[] = {};
178
const size_t pc_compat_4_1_len = G_N_ELEMENTS(pc_compat_4_1);
179
180
-GlobalProperty pc_compat_4_0[] = {};
181
-const size_t pc_compat_4_0_len = G_N_ELEMENTS(pc_compat_4_0);
182
-
180
/*
181
* @PC_FW_DATA:
182
* Size of the chunk of memory at the top of RAM for the BIOS ACPI tables
include/hw/i386/pc.h
-3
@@ -268,9 +268,6 @@ extern const size_t pc_compat_4_2_len;
268
extern GlobalProperty pc_compat_4_1[];
269
extern const size_t pc_compat_4_1_len;
270
271
-extern GlobalProperty pc_compat_4_0[];
272
-extern const size_t pc_compat_4_0_len;
273
-
271
#define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
272
static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
273
const void *data) \