summary refs log tree commit diff
path: root/drivers/scsi/jazz_esp.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-13 08:46:36 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-15 16:01:58 -0400
commit7097a517446fe62c6c53e3988e0d4fe536c35b17 (patch)
tree74ffc4c2523ecca9859ca99d4e2324f667012039 /drivers/scsi/jazz_esp.c
parent614fc2f9883ef2a382493be021e1825a42c1214a (diff)
downloadlinux-7097a517446fe62c6c53e3988e0d4fe536c35b17.tar.gz
scsi: aic7xxx: Remove unused variable 'targ'
Looks like checking the 'targ' was removed in 2005.

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

 drivers/scsi/aic7xxx/aic7xxx_osm.c: In function ‘ahc_send_async’:
 drivers/scsi/aic7xxx/aic7xxx_osm.c:1604:28: warning: variable ‘targ’ set but not used [-Wunused-but-set-variable]
 1604 | struct ahc_linux_target *targ;
 | ^~~~

Link: https://lore.kernel.org/r/20200713074645.126138-21-lee.jones@linaro.org
Cc: Hannes Reinecke <hare@suse.com>
Cc: "Daniel M. Eischen" <deischen@iworks.InterWorks.org>
Cc: Doug Ledford <dledford@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/jazz_esp.c')
0 files changed, 0 insertions, 0 deletions