summaryrefslogtreecommitdiffstats
path: root/include/hw/compat.h
diff options
context:
space:
mode:
authorMarc-André Lureau2018-12-12 16:36:30 +0100
committerMarc-André Lureau2019-01-07 13:18:41 +0100
commitddb3235de10a9a480b7a83a2ecee2ca9040ba845 (patch)
tree8115cf8da1bdf28bf7838adbba594eea16053b6f /include/hw/compat.h
parentcompat: replace PC_COMPAT_3_1 & HW_COMPAT_3_1 macros (diff)
downloadqemu-ddb3235de10a9a480b7a83a2ecee2ca9040ba845.tar.gz
qemu-ddb3235de10a9a480b7a83a2ecee2ca9040ba845.tar.xz
qemu-ddb3235de10a9a480b7a83a2ecee2ca9040ba845.zip
compat: replace PC_COMPAT_3_0 & HW_COMPAT_3_0 macros
Use static arrays instead. Suggested-by: Eduardo Habkost <ehabkost@redhat.com> 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/compat.h')
-rw-r--r--include/hw/compat.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h
index 6f4d5fc647..c08f4040bb 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -1,9 +1,6 @@
#ifndef HW_COMPAT_H
#define HW_COMPAT_H
-#define HW_COMPAT_3_0 \
- /* empty */
-
#define HW_COMPAT_2_12 \
{\
.driver = "migration",\