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é <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Message-Id: <[email protected]> --- include/hw/core/boards.h | 3 --- hw/core/machine.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/include/hw/core/boards.h b/include/hw/core/boards.h index f4ee68bbea5..9ad2a7d5c97 100644 --- a/include/hw/core/boards.h +++ b/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 diff --git a/hw/core/machine.c b/hw/core/machine.c index 4770618b559..162600425b0 100644 --- a/hw/core/machine.c +++ b/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) -- 2.53.0
