diff options
author | Colin Ian King <[email protected]> | 2024-04-29 16:01:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-05-04 18:57:22 +0200 |
commit | 988001c735944015a99292e4d996f052a0f5c0b7 (patch) | |
tree | a1ca7390034810072c3d88c1df343f63de16560a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 212886f5d930082d31eae617bf4d4b6c89800328 (diff) |
intel_th: Remove redundant initialization of pointer outp
The pointer outp is being initialized with a value that is never
read. All the reads of outp occur after outp has neen set to an
appropriate value rather than using the first value is initialized
with. The assignment is redundant and can be removed.
Cleans up clang scan warning:
drivers/hwtracing/intel_th/sth.c:73:15: warning: Value stored to
'outp' during its initialization is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Reviewed-by: Andy Shevchenko <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions