sched/debug: Remove obsolete init_schedstats()
authorEric Dumazet <edumazet@google.com>
Wed, 2 Jun 2021 11:21:08 +0000 (04:21 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 4 Jun 2021 13:38:42 +0000 (15:38 +0200)
commit1faa491a49d53f5d1c8c23bdf01763cfc00a2b19
tree8a7dd236a4c476dd4414981a882256cacdcb4383
parenta9e906b71f963f19aabf7af59f73f37c929a5221
sched/debug: Remove obsolete init_schedstats()

Revert commit 4698f88c06b8 ("sched/debug: Fix 'schedstats=enable'
cmdline option").

After commit 6041186a3258 ("init: initialize jump labels before
command line option parsing") we can rely on jump label infra being
ready for use when setup_schedstats() is called.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20210602112108.1709635-1-eric.dumazet@gmail.com
kernel/sched/core.c