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

Commit f3373461 authored by Josh Triplett's avatar Josh Triplett Committed by Ingo Molnar
Browse files

[PATCH] sched: mark sysrq_sched_debug_show() static



Only sched.c uses sysrq_sched_debug_show, and sched.c includes sched_debug.c,
so all uses of sysrq_sched_debug_show occur in the same source file.

Eliminates a sparse warning:
warning: symbol 'sysrq_sched_debug_show' was not declared. Should it be static?

Signed-off-by: default avatarJosh Triplett <josh@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2cd4d0ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
	return 0;
}

void sysrq_sched_debug_show(void)
static void sysrq_sched_debug_show(void)
{
	sched_debug_show(NULL, NULL);
}