diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2013-03-21 15:15:20 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-26 09:26:36 -0500 |
commit | c19f806e01ba5c4a4d4fac80b76841512ed4a11e (patch) | |
tree | 2f30a478373abc596a5ee15587871ba10b64133e /hw/virtio-scsi.c | |
parent | 763684befd34461371c2d2188655b69e4d93a5db (diff) |
virtio-scsi: 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: 1363875320-7985-11-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-scsi.c')
-rw-r--r-- | hw/virtio-scsi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c index 96e36885f9..06a58a6a63 100644 --- a/hw/virtio-scsi.c +++ b/hw/virtio-scsi.c @@ -704,8 +704,6 @@ static int virtio_scsi_device_init(VirtIODevice *vdev) s->cmd_vqs = g_malloc0(s->conf.num_queues * sizeof(VirtQueue *)); - s->qdev = qdev; - /* TODO set up vdev function pointers */ vdev->get_config = virtio_scsi_get_config; vdev->set_config = virtio_scsi_set_config; |