Commit 2b5b834c authored by Feng Yang's avatar Feng Yang Committed by Namhyung Kim
Browse files

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: default avatarFeng Yang <yangfeng@kylinos.cn>
Reviewed-by: default avatarIan Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250314031013.94480-1-yangfeng59949@163.com


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent 89aaeaf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment