summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2014-07-27 07:32:01 +0930
committerRusty Russell <rusty@rustcorp.com.au>2014-07-27 21:07:17 +0930
commit373445d02befffe2efe31ebf1ab7e566d877e3ee (patch)
treee2010a886e311f0603805c0baf442f8641c6b9b5 /drivers/char
parentcef340e6aa2ac16651f6a49d93551b27a9ee24bb (diff)
virtio: rng: remove unused struct element
vdev is unused in struct virtrng_info, remove it. CC: Amos Kong <akong@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/virtio-rng.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c
index e9b15bc18b4d..d8ffebdc2014 100644
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -28,7 +28,6 @@
static DEFINE_IDA(rng_index_ida);
struct virtrng_info {
- struct virtio_device *vdev;
struct hwrng hwrng;
struct virtqueue *vq;
unsigned int data_avail;