summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/Kconfig
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-11-12 10:19:29 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2020-11-16 23:35:08 -0500
commit1fc6591951308c9923311913811717d46400100d (patch)
tree27fca1ee8f98e554cd0da6c72f1a900604735d54 /drivers/scsi/ufs/Kconfig
parent6081b12ceb7d6e58346ce359282cdc1ed8282b76 (diff)
downloadlwn-1fc6591951308c9923311913811717d46400100d.tar.gz
lwn-1fc6591951308c9923311913811717d46400100d.zip
scsi: hpsa: Strip out a bunch of set but unused variables
Fixes the following W=1 kernel build warning(s): drivers/scsi/hpsa.c: In function ‘hpsa_volume_offline’: drivers/scsi/hpsa.c:3885:5: warning: variable ‘scsi_status’ set but not used [-Wunused-but-set-variable] drivers/scsi/hpsa.c:3884:6: warning: variable ‘cmd_status’ set but not used [-Wunused-but-set-variable] drivers/scsi/hpsa.c: In function ‘hpsa_update_scsi_devices’: drivers/scsi/hpsa.c:4354:9: warning: variable ‘n_ext_target_devs’ set but not used [-Wunused-but-set-variable] drivers/scsi/hpsa.c: In function ‘hpsa_scatter_gather’: drivers/scsi/hpsa.c:4583:36: warning: variable ‘last_sg’ set but not used [-Wunused-but-set-variable] drivers/scsi/hpsa.c: In function ‘hpsa_init_one’: drivers/scsi/hpsa.c:8639:6: warning: variable ‘dac’ set but not used [-Wunused-but-set-variable] drivers/scsi/hpsa.c: In function ‘hpsa_enter_performant_mode’: drivers/scsi/hpsa.c:9300:7: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] Link: https://lore.kernel.org/r/20201112101929.GC1997862@dell Cc: Don Brace <don.brace@microchip.com> Cc: Bugfixes to <esc.storagedev@microsemi.com> Cc: storagedev@microchip.com Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/Kconfig')
0 files changed, 0 insertions, 0 deletions