aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2022-10-17 22:45:56 +0100
committerAndrew Morton <[email protected]>2022-11-18 13:55:06 -0800
commit1aae9056b1ce29ed9a691e0f6c4bb3b08b5d7374 (patch)
treec8a0688fd624cc60c6c4ef4b2157bc4fa4d1c007 /tools/perf/scripts/python
parent8603b6f58637ce196d68f7749633ea81af196d66 (diff)
lib/oid_registry.c: remove redundant assignment to variable num
The variable num is being assigned a value that is never read, it is being re-assigned a new value in both paths if an if-statement. The assignment is redundant and can be removed. Cleans up clang scan build warning: lib/oid_registry.c:149:3: warning: Value stored to 'num' is never read [deadcode.DeadStores] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions