Commit ed87277
tracing: Remove unused variable 'dups'
Reported by Clang [-Wunused-but-set-variable]
'commit c193707 ("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/[email protected]
Signed-off-by: Chen Zhongjin <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent 0e0f0b7 commit ed87277
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
964 | | - | |
| 964 | + | |
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
| |||
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
977 | | - | |
| 977 | + | |
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
981 | | - | |
982 | 981 | | |
983 | 982 | | |
984 | 983 | | |
| |||
0 commit comments