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>
Philippe Mathieu-Daudé committed
May 1, 2025 at 23:31 UTC
0a44e965e84a691c84fa5430979812df27e74d52
2 files changed
-6
hw/core/machine.c
-3
@@ -238,9 +238,6 @@ GlobalProperty hw_compat_3_1[] = {
238
};
239
const size_t hw_compat_3_1_len = G_N_ELEMENTS(hw_compat_3_1);
240
241
-GlobalProperty hw_compat_3_0[] = {};
242
-const size_t hw_compat_3_0_len = G_N_ELEMENTS(hw_compat_3_0);
243
-
241
MachineState *current_machine;
242
243
static char *machine_get_kernel(Object *obj, Error **errp)
include/hw/core/boards.h
-3
@@ -871,7 +871,4 @@ extern const size_t hw_compat_4_0_len;
871
extern GlobalProperty hw_compat_3_1[];
872
extern const size_t hw_compat_3_1_len;
873
874
-extern GlobalProperty hw_compat_3_0[];
875
-extern const size_t hw_compat_3_0_len;
876
-
874
#endif