diff options
author | Colin Ian King <[email protected]> | 2023-09-20 12:41:41 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-09-21 08:41:23 +0200 |
commit | fef44ebaf61b57a71ab818058926a3f9a0ac81e6 (patch) | |
tree | cbd6cb2ae829bfc9fdc2760c089ef750344d9ed1 /tools/perf/scripts/python/sched-migration.py | |
parent | ce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff) |
x86/unwind/orc: Remove redundant initialization of 'mid' pointer in __orc_find()
The 'mid' pointer is being initialized with a value that is never read,
it is being re-assigned and used inside a for-loop. Remove the
redundant initialization.
Cleans up clang scan build warning:
arch/x86/kernel/unwind_orc.c:88:7: warning: Value stored to 'mid' during its initialization is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions