qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 44/61] virtio-rng.c : cleanup : remove qdev field.


From: fred . konrad
Subject: [Qemu-devel] [PATCH 44/61] virtio-rng.c : cleanup : remove qdev field.
Date: Mon, 7 Jan 2013 19:40:57 +0100

From: KONRAD Frederic <address@hidden>

The qdev field is no longer needed, just drop it.

Signed-off-by: KONRAD Frederic <address@hidden>
---
 hw/virtio-rng.c | 1 -
 hw/virtio-rng.h | 2 --
 2 files changed, 3 deletions(-)

diff --git a/hw/virtio-rng.c b/hw/virtio-rng.c
index 646bcf3..4e84f9e 100644
--- a/hw/virtio-rng.c
+++ b/hw/virtio-rng.c
@@ -176,7 +176,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;
diff --git a/hw/virtio-rng.h b/hw/virtio-rng.h
index fd6d01f..ae0c56da 100644
--- a/hw/virtio-rng.h
+++ b/hw/virtio-rng.h
@@ -32,8 +32,6 @@ struct VirtIORNGConf {
 typedef struct VirtIORNG {
     VirtIODevice vdev;
 
-    DeviceState *qdev;
-
     /* Only one vq - guest puts buffer(s) on it when it needs entropy */
     VirtQueue *vq;
 
-- 
1.7.11.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]