diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-03 15:14:52 +0300 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2025-09-08 11:19:25 +0300 |
commit | 6d0982ae7880f2c4d5fbd1b5f7574ea93d1311ac (patch) | |
tree | aac1a07c8722d1cd10d75a5e2324935a68d300fc /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | fc33bf0e097c6834646b98a7b3da0ae5b617f0f9 (diff) | |
download | linux-6d0982ae7880f2c4d5fbd1b5f7574ea93d1311ac.tar.xz |
PM / devfreq: mtk-cci: avoid redundant conditions
While 'if (i <= 0) ... else if (i > 0) ...' is technically equivalent to
'if (i <= 0) ... else ...', the latter is vastly easier to read because
it avoids writing out a condition that is unnecessary. Let's drop such
unnecessary conditions.
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://patchwork.kernel.org/project/linux-pm/patch/20250903121452.387023-1-liaoyuanhong@vivo.com/
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions