virtio scsi: fix unused variable warning
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 30 Jun 2015 00:59:04 +0000 (10:59 +1000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Jul 2015 11:27:03 +0000 (14:27 +0300)
commit908a5544cd29ed60114ed60bded6dbe8cdd56326
treef5e2af14e04fb053e296b64ec79855bd08f69952
parentbcfeacab45e6d419c6bafc0e57ea4b1125e23231
virtio scsi: fix unused variable warning

drivers/scsi/virtio_scsi.c: In function 'virtscsi_probe':
drivers/scsi/virtio_scsi.c:952:11: warning: unused variable 'host_prot' [-Wunused-variable]
  int err, host_prot;
           ^

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/scsi/virtio_scsi.c