History

panic: make print_oops_end_marker() static

Since print_oops_end_marker() is not used externally, also remove it in kernel.h at the same time.

Yue Hu committed 6 years ago

Commit 63037f71 parent 9d5b1342 files · +1 −2Browse files

Showing the changes to kernel (1 of 2 files). Show all

Unified · Split

kernel/panic.c+1−1
@@ -551,7 +551,7 @@ static int init_oops_id(void) · 550 unmodified lines
551551 }
552552 late_initcall(init_oops_id);
553553
554−void print_oops_end_marker(void)
554+static void print_oops_end_marker(void)
555555 {
556556 init_oops_id();
557557 pr_warn("---[ end trace %016llx ]---\n", (unsigned long long)oops_id);