diff options
author | Lee Jones <[email protected]> | 2020-07-21 17:41:23 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-07-24 22:09:59 -0400 |
commit | 0683550b54c40b06746c28a9844839392597d783 (patch) | |
tree | 54d0e177d4fb22c37c42791ee2bb2f93acb275a0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3ca2c203ed99944da2e687e49acad7a9935c1610 (diff) |
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/[email protected]
Cc: Hannes Reinecke <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions