diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2013-04-24 10:08:00 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-24 11:50:19 -0500 |
commit | 65f3b678f5b825010a1d167e82dca26ca84a199d (patch) | |
tree | 014744ea04b2ce42720f19743286683ef1315af2 /hw/virtio/virtio-rng.c | |
parent | 46a5a89d654573425b63f8a7a613833973955f35 (diff) |
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/virtio/virtio-rng.c')
-rw-r--r-- | hw/virtio/virtio-rng.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/virtio/virtio-rng.c b/hw/virtio/virtio-rng.c index 805dd18b76..a1dbd1e52f 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; |