WSL2-Linux-Kernel/drivers/scsi/aic7xxx
Lee Jones 0683550b54 scsi: aic7xxx: Remove set but unused variables 'targ_info' and 'value'
Also remove 'tstate' which became unused after this patch.

Fixes the following W=1 kernel build warning(s):

 drivers/scsi/aic7xxx/aic79xx_core.c: In function ‘ahd_handle_seqint’:
 drivers/scsi/aic7xxx/aic79xx_core.c:1907:32: warning: variable ‘targ_info’ set but not used [-Wunused-but-set-variable]
 1907 | struct ahd_initiator_tinfo *targ_info;
 | ^~~~~~~~~
 drivers/scsi/pm8001/pm8001_hwi.c: In function ‘mpi_set_phys_g3_with_ssc’:
 drivers/scsi/pm8001/pm8001_hwi.c:413:6: warning: variable ‘value’ set but not used [-Wunused-but-set-variable]
 413 | u32 value, offset, i;
 | ^~~~~

Link: https://lore.kernel.org/r/20200721164148.2617584-16-lee.jones@linaro.org
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-07-24 22:09:59 -04:00
..
aicasm scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig.aic7xxx treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Kconfig.aic79xx treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile scsi: remove unneeded header search paths 2019-01-29 01:22:21 -05:00
aic7xxx.h scsi: aic7xxx: fix EISA support 2019-04-18 20:43:10 -04:00
aic7xxx.reg scsi: aic7xxx: Spelling s/configuraion/configuration/ 2019-06-18 19:46:25 -04:00
aic7xxx.seq
aic7xxx_93cx6.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7xxx_93cx6.h
aic7xxx_core.c scsi: aic7xxx: Remove unnecessary NULL checks before kfree 2020-04-24 12:48:48 -04:00
aic7xxx_inline.h
aic7xxx_osm.c scsi: aic7xxx: Fix 'amount_xferred' set but not used issue 2020-07-15 16:01:58 -04:00
aic7xxx_osm.h scsi: aic7xxx: remove empty function 2017-08-07 21:42:07 -04:00
aic7xxx_osm_pci.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
aic7xxx_pci.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7xxx_pci.h
aic7xxx_proc.c
aic7xxx_reg.h_shipped scsi: aic7xxx: regenerate firmware files 2017-08-10 19:36:51 -04:00
aic7xxx_reg_print.c_shipped
aic7xxx_seq.h_shipped scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic79xx.h scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic79xx.reg
aic79xx.seq
aic79xx_core.c scsi: aic7xxx: Remove set but unused variables 'targ_info' and 'value' 2020-07-24 22:09:59 -04:00
aic79xx_inline.h
aic79xx_osm.c scsi: aic79xx: Restore modes when exiting ahd_linux_queue_abort_cmd() 2020-07-24 22:09:54 -04:00
aic79xx_osm.h scsi: aic7xxx: Convert timers to use timer_setup() 2017-11-01 11:27:04 -07:00
aic79xx_osm_pci.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
aic79xx_pci.c scsi: aic7xxx: remove set but not used variable 'shared_scb_data' 2018-09-17 02:34:16 -04:00
aic79xx_pci.h
aic79xx_proc.c
aic79xx_reg.h_shipped scsi: aic7xxx: regenerate firmware files 2017-08-10 19:36:51 -04:00
aic79xx_reg_print.c_shipped scsi: aic7xxx: regenerate firmware files 2017-08-10 19:36:51 -04:00
aic79xx_seq.h_shipped scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic7770.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7770_osm.c scsi: aic7xxx: fix EISA support 2019-04-18 20:43:10 -04:00
aiclib.h
cam.h
queue.h
scsi_iu.h
scsi_message.h