On 07/03/2026 16.41, Philippe Mathieu-Daudé wrote:
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é <[email protected]>
---
  include/hw/i386/pc.h | 3 ---
  hw/i386/pc.c         | 3 ---
  2 files changed, 6 deletions(-)

diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 4e1dd436ab7..22325324d09 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -268,9 +268,6 @@ extern const size_t pc_compat_4_2_len;
  extern GlobalProperty pc_compat_4_1[];
  extern const size_t pc_compat_4_1_len;
-extern GlobalProperty pc_compat_4_0[];
-extern const size_t pc_compat_4_0_len;
-
  #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \
      static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
                                                   const void *data) \
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 93d1a52d712..d8fd63bfe17 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -186,9 +186,6 @@ const size_t pc_compat_4_2_len = 
G_N_ELEMENTS(pc_compat_4_2);
  GlobalProperty pc_compat_4_1[] = {};
  const size_t pc_compat_4_1_len = G_N_ELEMENTS(pc_compat_4_1);
-GlobalProperty pc_compat_4_0[] = {};
-const size_t pc_compat_4_0_len = G_N_ELEMENTS(pc_compat_4_0);

Reviewed-by: Thomas Huth <[email protected]>


Reply via email to