Browse Source

hw/core/machine: Remove the hw_compat_3_0[] array

The hw_compat_3_0[] array was only used by the pc-q35-3.0
and pc-i440fx-3.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: <20260307150042.78030-5-philmd@linaro.org>
master
Philippe Mathieu-Daudé 1 year ago
parent
commit
0a44e965e8
  1. 3
      hw/core/machine.c
  2. 3
      include/hw/core/boards.h

3
hw/core/machine.c

@ -238,9 +238,6 @@ GlobalProperty hw_compat_3_1[] = {
};
const size_t hw_compat_3_1_len = G_N_ELEMENTS(hw_compat_3_1);
GlobalProperty hw_compat_3_0[] = {};
const size_t hw_compat_3_0_len = G_N_ELEMENTS(hw_compat_3_0);
MachineState *current_machine;
static char *machine_get_kernel(Object *obj, Error **errp)

3
include/hw/core/boards.h

@ -871,7 +871,4 @@ extern const size_t hw_compat_4_0_len;
extern GlobalProperty hw_compat_3_1[];
extern const size_t hw_compat_3_1_len;
extern GlobalProperty hw_compat_3_0[];
extern const size_t hw_compat_3_0_len;
#endif

Loading…
Cancel
Save