From 638b47412b855867cffd291d16673f01f414882c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 26 Nov 2018 22:25:57 +0400 Subject: [PATCH] hw: remove SET_MACHINE_COMPAT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No longer needed. Signed-off-by: Marc-André Lureau Reviewed-by: Igor Mammedov Reviewed-by: Cornelia Huck Acked-by: Eduardo Habkost --- include/hw/boards.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/hw/boards.h b/include/hw/boards.h index f14c38bb63..0566742412 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -288,16 +288,4 @@ struct MachineState { } \ type_init(machine_initfn##_register_types) -#define SET_MACHINE_COMPAT(m, compat) \ - do { \ - int i; \ - if (!m->compat_props) { \ - m->compat_props = g_array_new(false, false, sizeof(void *)); \ - } \ - for (i = 0; i < G_N_ELEMENTS(compat); i++) { \ - GlobalProperty *prop = &compat[i]; \ - g_array_append_val(m->compat_props, prop); \ - } \ - } while (0) - #endif