From: Amit Shah Date: Sat, 26 Jul 2014 22:02:01 +0000 (+0930) Subject: virtio: rng: remove unused struct element X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=373445d02befffe2efe31ebf1ab7e566d877e3ee;p=deliverable%2Flinux.git virtio: rng: remove unused struct element vdev is unused in struct virtrng_info, remove it. CC: Amos Kong Signed-off-by: Amit Shah Signed-off-by: Rusty Russell --- 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;