WSL2-Linux-Kernel/drivers/scsi/hisi_sas
YueHaibing e34ff8edca scsi: hisi_sas: Remove set but not used variable 'dq_list'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/scsi/hisi_sas/hisi_sas_v1_hw.c: In function 'start_delivery_v1_hw':
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:907:20: warning:
 variable 'dq_list' set but not used [-Wunused-but-set-variable]

drivers/scsi/hisi_sas/hisi_sas_v2_hw.c: In function 'start_delivery_v2_hw':
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c:1671:20: warning:
 variable 'dq_list' set but not used [-Wunused-but-set-variable]

drivers/scsi/hisi_sas/hisi_sas_v3_hw.c: In function 'start_delivery_v3_hw':
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:889:20: warning:
 variable 'dq_list' set but not used [-Wunused-but-set-variable]

It never used since introduction in commit
fa222db0b0 ("scsi: hisi_sas: Don't lock DQ for complete task sending")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-11-05 22:43:13 -05:00
..
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
hisi_sas.h scsi: hisi_sas: Use block layer tag instead for IPTT 2018-10-16 00:27:04 -04:00
hisi_sas_main.c scsi: hisi_sas: Fix NULL pointer dereference 2018-10-19 18:27:49 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: Remove set but not used variable 'dq_list' 2018-11-05 22:43:13 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: Remove set but not used variable 'dq_list' 2018-11-05 22:43:13 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: Remove set but not used variable 'dq_list' 2018-11-05 22:43:13 -05:00