diff options
author | Chen Zhongjin <chenzhongjin@huawei.com> | 2022-09-30 18:32:36 +0800 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-10-03 12:20:31 -0400 |
commit | ed87277f122674a943239c6e60d352c8d56deb50 (patch) | |
tree | a6a10cb836398fbab5c7f202a87d8e35b12f52f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0e0f0b74f895942afaf2f9213b97a6cb021d05df (diff) |
tracing: Remove unused variable 'dups'
Reported by Clang [-Wunused-but-set-variable]
'commit c193707dde77 ("tracing: Remove code which merges duplicates")'
This commit removed the code which merges duplicates in detect_dups(),
but forgot to delete the variable 'dups' which used to merge
duplicates in the loop.
Now only 'total_dups' is needed, remove 'dups' for clean code.
Link: https://lkml.kernel.org/r/20220930103236.253985-1-chenzhongjin@huawei.com
Signed-off-by: Chen Zhongjin <chenzhongjin@huawei.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions