]> git.hungrycats.org Git - linux/commit
sched/core: Combine separate 'else' and 'if' statements
authorLiang Luo <luoliang@kylinos.cn>
Mon, 8 Jun 2026 07:18:42 +0000 (15:18 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 9 Jun 2026 08:28:08 +0000 (10:28 +0200)
commit76124a050ddbc8b252172205ab04f10a83c03a4d
treefdf8bb0461418e76a0b7e1cc299c05a65f94102e
parent29922fdfc2a4008d66418bedd0ebf5038fc54efa
sched/core: Combine separate 'else' and 'if' statements

The kernel coding style recommends using 'else if' instead of
placing 'if' on a separate line after 'else'. This change makes
the code consistent with the rest of the kernel codebase.

Signed-off-by: Liang Luo <luoliang@kylinos.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260608071842.325159-1-luoliang@kylinos.cn
kernel/sched/core.c