linux_dsm_epyc7002/drivers/scsi/smartpqi
YueHaibing 1c62948589 scsi: smartpqi: remove set but not used variable 'ctrl_info'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/scsi/smartpqi/smartpqi_init.c: In function 'pqi_driver_version_show':
drivers/scsi/smartpqi/smartpqi_init.c:6164:24: warning:
 variable 'ctrl_info' set but not used [-Wunused-but-set-variable]

commit 6d90615f13 ("scsi: smartpqi: add sysfs entries") added it but
it was never used. Also remove variable 'shost'.

[mkp: commit desc]

Link: https://lore.kernel.org/r/20190831130348.20552-1-yuehaibing@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-09-30 22:37:18 -04:00
..
Kconfig scsi: smartpqi: update copyright 2019-08-29 18:31:39 -04:00
Makefile
smartpqi_init.c scsi: smartpqi: remove set but not used variable 'ctrl_info' 2019-09-30 22:37:18 -04:00
smartpqi_sas_transport.c scsi: smartpqi: add bay identifier 2019-08-29 18:31:39 -04:00
smartpqi_sis.c
smartpqi_sis.h
smartpqi.h scsi: smartpqi: add bay identifier 2019-08-29 18:31:39 -04:00