mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 10:30:52 +07:00
KVM: s390: virtio_ccw: remove unused variable
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@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
0df1f2487d
commit
f7ceb0dfec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user