summary refs log tree commit diff stats
path: root/hw/input/virtio-input.c
diff options
context:
space:
mode:
authorHalil Pasic <pasic@linux.vnet.ibm.com>2016-10-06 14:55:50 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-10-10 02:21:43 +0300
commit5705653ff8666ffb247971361904f902aa033351 (patch)
tree7013f2eb892b320f1d60d6e7a488a20069b02a3b /hw/input/virtio-input.c
parent81cc8a6566d9fdbe0535b26a33f28a2888dceb77 (diff)
downloadfocaccia-qemu-5705653ff8666ffb247971361904f902aa033351.tar.gz
focaccia-qemu-5705653ff8666ffb247971361904f902aa033351.zip
virtio: cleanup VMSTATE_VIRTIO_DEVICE
Now all the usages of the old version of VMSTATE_VIRTIO_DEVICE are gone,
so we can get rid of the conditionals, and the old macro.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/input/virtio-input.c')
-rw-r--r--hw/input/virtio-input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/input/virtio-input.c b/hw/input/virtio-input.c
index 5e31033c4d..b678ee9f20 100644
--- a/hw/input/virtio-input.c
+++ b/hw/input/virtio-input.c
@@ -4,8 +4,6 @@
  * top-level directory.
  */
 
-#define VMSTATE_VIRTIO_DEVICE_USE_NEW
-
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qemu/iov.h"