From d5990ff46759d918309dc10409a7d7ee83467642 Mon Sep 17 00:00:00 2001 From: KONRAD Frederic Date: Tue, 9 Apr 2013 14:53:36 +0200 Subject: [PATCH] virtio-serial: cleanup: remove qdev field. The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic Reviewed-by: Cornelia Huck Reviewed-by: Peter Maydell Tested-by: Cornelia Huck Acked-by: Amit Shah Message-id: 1365512016-21944-8-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori --- hw/char/virtio-serial-bus.c | 2 -- include/hw/virtio/virtio-serial.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/hw/char/virtio-serial-bus.c b/hw/char/virtio-serial-bus.c index aabb36a934..35c996d4a1 100644 --- a/hw/char/virtio-serial-bus.c +++ b/hw/char/virtio-serial-bus.c @@ -960,8 +960,6 @@ static int virtio_serial_device_init(VirtIODevice *vdev) vdev->set_status = set_status; vdev->reset = vser_reset; - vser->qdev = qdev; - vser->post_load = NULL; /* diff --git a/include/hw/virtio/virtio-serial.h b/include/hw/virtio/virtio-serial.h index 3808bc3038..7c71304d10 100644 --- a/include/hw/virtio/virtio-serial.h +++ b/include/hw/virtio/virtio-serial.h @@ -200,8 +200,6 @@ struct VirtIOSerial { VirtIOSerialBus bus; - DeviceState *qdev; - QTAILQ_HEAD(, VirtIOSerialPort) ports; /* bitmap for identifying active ports */