aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2020-07-01 09:31:06 +0100
committerGreg Kroah-Hartman <[email protected]>2020-07-01 15:08:04 +0200
commitcf2a06c133ddb07d90af78569f5d3e0551cfde7f (patch)
tree7be5e732a4abfee5ea1bce0fd1faea5d0fcdf462 /tools/perf/scripts/python
parenta761b8b00c6cde8f20cdcafdfba685118f2832e3 (diff)
misc: mic: scif: scif_api: Remove set but unused variable 'read_size'
'read_size' appears to have been assigned, but never used since the SCIF messaging and node enumeration APIs were introduced in 2015. Makes sense to simply remove it. Fixes the following W=1 warning: drivers/misc/mic/scif/scif_api.c: In function ‘_scif_recv’: drivers/misc/mic/scif/scif_api.c:1000:6: warning: variable ‘read_size’ set but not used [-Wunused-but-set-variable] 1000 | int read_size; | ^~~~~~~~~ Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions