summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFeng Yang <yangfeng@kylinos.cn>2025-03-14 06:10:13 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-03-19 02:55:30 +0300
commit2b5b834cc3b97492901ed399ae0ceb737f6aaa06 (patch)
tree7ad12719c0140edffd0ef73c937b1b043bf91d34 /tools/perf/scripts/python/export-to-sqlite.py
parent89aaeaf84231157288035b366cb6300c1c6cac64 (diff)
downloadlinux-2b5b834cc3b97492901ed399ae0ceb737f6aaa06.tar.xz
perf kwork: Remove unreachable judgments
When s2[i] = '\0', if s1[i] != '\0', it will be judged by ret, and if s1[i] = '\0', it will be judegd by !s1[i]. So in reality, s2 [i] will never make a judgment Signed-off-by: Feng Yang <yangfeng@kylinos.cn> Reviewed-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20250314031013.94480-1-yangfeng59949@163.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions