Skip to content

Commit

Permalink
virtio: rng: remove unused struct element
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Amit Shah authored and Rusty Russell committed Jul 27, 2014
1 parent cef340e commit 373445d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/char/hw_random/virtio-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 373445d

Please sign in to comment.