OSDN Git Service

virtio: rng: remove unused struct element
authorAmit Shah <amit.shah@redhat.com>
Sat, 26 Jul 2014 22:02:01 +0000 (07:32 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 27 Jul 2014 11:37:17 +0000 (21:07 +0930)
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>
drivers/char/hw_random/virtio-rng.c

index e9b15bc..d8ffebd 100644 (file)
@@ -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;