diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-03 15:12:27 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-09-04 07:50:44 +0300 |
commit | 3e681899cc6e6c77eca55dd8c7cc57b27868e8a2 (patch) | |
tree | f21ebeac94e0e99773ad08e4642f453779b0a403 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 592532a77b736b5153e0c2e4c74aa50af0a352ab (diff) | |
download | linux-3e681899cc6e6c77eca55dd8c7cc57b27868e8a2.tar.xz |
cpufreq: mediatek: 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: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions