Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf82ff7e authored by Jayson R. King's avatar Jayson R. King Committed by Ingo Molnar
Browse files

sched: Remove obsolete comment in sched_init()



Remove the comment about calling alloc_bootmem() as it is not
called here since commit 36b7b6d4.

Signed-off-by: default avatarJayson R. King <dev@jaysonking.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Jiri Kosina <trivial@kernel.org>
LKML-Reference: <4AC9C8A6.6010209@jaysonking.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d01d4827
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -9322,10 +9322,6 @@ void __init sched_init(void)
#ifdef CONFIG_CPUMASK_OFFSTACK
	alloc_size += num_possible_cpus() * cpumask_size();
#endif
	/*
	 * As sched_init() is called before page_alloc is setup,
	 * we use alloc_bootmem().
	 */
	if (alloc_size) {
		ptr = (unsigned long)kzalloc(alloc_size, GFP_NOWAIT);