scsi: fnic: Remove set but not used variable 'vdev'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 25 Jan 2019 02:00:14 +0000 (10:00 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Jan 2019 06:16:09 +0000 (01:16 -0500)
commitf2aecc1d38ff26f972d8c825ccc1f5152b79e203
tree3f7f7836dc134cd1a1eade42960fa78142b85d2f
parentdb5db4b91cabcf57f3efd98d92d24ab875cde8ae
scsi: fnic: Remove set but not used variable 'vdev'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/scsi/fnic/vnic_wq.c: In function 'vnic_wq_alloc_bufs':
drivers/scsi/fnic/vnic_wq.c:50:19: warning:
 variable 'vdev' set but not used [-Wunused-but-set-variable]

drivers/scsi/fnic/vnic_rq.c: In function 'vnic_rq_alloc_bufs':
drivers/scsi/fnic/vnic_rq.c:30:19: warning:
 variable 'vdev' set but not used [-Wunused-but-set-variable]

Never used since introduction.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/vnic_rq.c
drivers/scsi/fnic/vnic_wq.c