summary refs log tree commit diff stats
path: root/include/hw/compat.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-12-12 19:36:30 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2019-01-07 16:18:41 +0400
commitddb3235de10a9a480b7a83a2ecee2ca9040ba845 (patch)
tree8115cf8da1bdf28bf7838adbba594eea16053b6f /include/hw/compat.h
parentabd93cc7df8521d463c24b2106fdde4f40a3fdd5 (diff)
downloadfocaccia-qemu-ddb3235de10a9a480b7a83a2ecee2ca9040ba845.tar.gz
focaccia-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",\