]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
sched: Remove duplicated tick_nohz_full_enabled() check
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 28 Jul 2020 11:17:55 +0000 (19:17 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 Jul 2020 11:27:54 +0000 (13:27 +0200)
commit21a6ee14a8f277766618ef07154432b46528113e
tree99e14a15b12a3ba84610bb7f17352ba11420a783
parentc1b7b8d42b5422627b0a8268416a60748f8d000f
sched: Remove duplicated tick_nohz_full_enabled() check

In sched_update_tick_dependency() there's two calls that check
whether nohz_full is enabled: tick_nohz_full_cpu() does it
implicitly, while there's also an explicit call to tick_nohz_full_enabled().

Remove the duplicated, open coded check.

[ mingo: Amended the changelog. ]

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/1595935075-14223-1-git-send-email-linmiaohe@huawei.com
kernel/sched/sched.h