aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2020-07-21 17:41:46 +0100
committerMartin K. Petersen <[email protected]>2020-07-24 22:10:02 -0400
commit101706dc0a46c08a4efa33c8d05303b002668e30 (patch)
tree74b6be9260df398c52c4b966163624fac45cbadc /tools/perf/util/scripting-engines/trace-event-python.c
parent633e19b571105385ec1091d5a9ed14eb51878fc1 (diff)
scsi: sym53c8xx_2: Ensure variable has the same stipulations as code using it
Only declare 'tp' and 'lp' if they are going to be used. Fixes the following W=1 kernel build warning(s): drivers/scsi/sym53c8xx_2/sym_hipd.c: In function ‘sym_complete_error’: drivers/scsi/sym53c8xx_2/sym_hipd.c:5356:18: warning: variable ‘lp’ set but not used [-Wunused-but-set-variable] drivers/scsi/sym53c8xx_2/sym_hipd.c: In function ‘sym_complete_ok’: drivers/scsi/sym53c8xx_2/sym_hipd.c:5485:18: warning: variable ‘lp’ set but not used [-Wunused-but-set-variable] Link: https://lore.kernel.org/r/[email protected] Cc: Matthew Wilcox <[email protected]> Cc: Gerard Roudier <[email protected]> Cc: Wolfgang Stanglmeier <[email protected]> Cc: Stefan Esser <[email protected]> Cc: Richard Waltham <[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