summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-09-03 15:14:52 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2025-09-08 11:19:25 +0300
commit6d0982ae7880f2c4d5fbd1b5f7574ea93d1311ac (patch)
treeaac1a07c8722d1cd10d75a5e2324935a68d300fc /fs/btrfs/dev-replace.c
parentfc33bf0e097c6834646b98a7b3da0ae5b617f0f9 (diff)
downloadlinux-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 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions