aboutsummaryrefslogtreecommitdiff
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-11-26 22:25:57 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2019-01-07 16:18:41 +0400
commit638b47412b855867cffd291d16673f01f414882c (patch)
tree027eabce90cf6a6d29a49abfdcd75b41486e39bc /include/hw/boards.h
parent88cbe0737401843c550f79f611193455c6380bcc (diff)
hw: remove SET_MACHINE_COMPAT
No longer needed. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/boards.h')
-rw-r--r--include/hw/boards.h12
1 files changed, 0 insertions, 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