aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorKONRAD Frederic <fred.konrad@greensocs.com>2013-04-24 10:08:00 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-24 11:50:19 -0500
commit65f3b678f5b825010a1d167e82dca26ca84a199d (patch)
tree014744ea04b2ce42720f19743286683ef1315af2 /hw
parent46a5a89d654573425b63f8a7a613833973955f35 (diff)
downloadqemu-65f3b678f5b825010a1d167e82dca26ca84a199d.zip
qemu-65f3b678f5b825010a1d167e82dca26ca84a199d.tar.gz
qemu-65f3b678f5b825010a1d167e82dca26ca84a199d.tar.bz2
virtio-rng: cleanup: remove qdev field.
The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Amit Shah <amit.shah@redhat.com> Message-id: 1366790881-3026-8-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/virtio/virtio-rng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/virtio/virtio-rng.c b/hw/virtio/virtio-rng.c
index 805dd18..a1dbd1e 100644
--- a/hw/virtio/virtio-rng.c
+++ b/hw/virtio/virtio-rng.c
@@ -168,8 +168,6 @@ static int virtio_rng_device_init(VirtIODevice *vdev)
vrng->vdev.get_features = get_features;
- vrng->qdev = qdev;
-
assert(vrng->conf.max_bytes <= INT64_MAX);
vrng->quota_remaining = vrng->conf.max_bytes;