diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2013-03-27 10:49:15 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-28 12:57:41 -0500 |
commit | 2900af5969c8d54d48872cd707a4a0e71e6fa57e (patch) | |
tree | 99e43f5304cf47dcae22b8fb67d0cc9131acef68 | |
parent | c96caced3ffd9e5a078f3f5b5d373a40faf7dc3a (diff) |
virtio-balloon: cleanup: remove qdev field.
The qdev field is no longer needed, just drop it.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-id: 1364377755-15508-7-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | hw/virtio-balloon.c | 1 | ||||
-rw-r--r-- | hw/virtio-balloon.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/virtio-balloon.c b/hw/virtio-balloon.c index 38d2ee3948..b382bd440d 100644 --- a/hw/virtio-balloon.c +++ b/hw/virtio-balloon.c @@ -360,7 +360,6 @@ static int virtio_balloon_device_init(VirtIODevice *vdev) s->dvq = virtio_add_queue(vdev, 128, virtio_balloon_handle_output); s->svq = virtio_add_queue(vdev, 128, virtio_balloon_receive_stats); - s->qdev = qdev; register_savevm(qdev, "virtio-balloon", -1, 1, virtio_balloon_save, virtio_balloon_load, s); diff --git a/hw/virtio-balloon.h b/hw/virtio-balloon.h index 5f8fe021d0..d898315414 100644 --- a/hw/virtio-balloon.h +++ b/hw/virtio-balloon.h @@ -67,7 +67,6 @@ typedef struct VirtIOBalloon { QEMUTimer *stats_timer; int64_t stats_last_update; int64_t stats_poll_interval; - DeviceState *qdev; } VirtIOBalloon; #endif |