Re: [PULL 1/1] KVM: s390: virtio_ccw: remove unused variable

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

 



On 03/11/2014 12:29, Cornelia Huck wrote:
> From: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
> 
> Fix this warning:
> drivers/s390/kvm/virtio_ccw.c: In function ‘virtio_ccw_int_handler’:
> drivers/s390/kvm/virtio_ccw.c:891:24: warning: unused variable ‘drv’ [-Wunused-variable]
>     struct virtio_driver *drv;
> 
> Signed-off-by: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
> Acked-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
> Acked-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> Acked-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
> Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
> ---
>  drivers/s390/kvm/virtio_ccw.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c
> index 6cbe6ef..bda52f1 100644
> --- a/drivers/s390/kvm/virtio_ccw.c
> +++ b/drivers/s390/kvm/virtio_ccw.c
> @@ -888,7 +888,6 @@ static void virtio_ccw_int_handler(struct ccw_device *cdev,
>  	struct virtio_ccw_device *vcdev = dev_get_drvdata(&cdev->dev);
>  	int i;
>  	struct virtqueue *vq;
> -	struct virtio_driver *drv;
>  
>  	if (!vcdev)
>  		return;
> 

Pulled, thanks.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux