diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-02-20 15:18:52 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-02-21 01:53:41 +0300 |
commit | 15e95037b45f24f9ab6d4f0bd101d4df0be24c1d (patch) | |
tree | fc9f4358d30b558a19330102f21aba5b97d818c8 /tools/bootconfig/include | |
parent | 85c46b78da58398be1c5166f55063c0512decd39 (diff) | |
download | linux-15e95037b45f24f9ab6d4f0bd101d4df0be24c1d.tar.xz |
tools/bootconfig: Remove unneeded error message silencer
Remove error message silent knob, we don't need it anymore
because we can check if there is a bootconfig by checking
the magic word.
If there is a magic word, but failed to load a bootconfig
from initrd, there is a real problem.
Link: http://lkml.kernel.org/r/158220113256.26565.14264598654427773104.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/bootconfig/include')
-rw-r--r-- | tools/bootconfig/include/linux/printk.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/bootconfig/include/linux/printk.h b/tools/bootconfig/include/linux/printk.h index e978a63d3222..036e667596eb 100644 --- a/tools/bootconfig/include/linux/printk.h +++ b/tools/bootconfig/include/linux/printk.h @@ -4,10 +4,7 @@ #include <stdio.h> -/* controllable printf */ -extern int pr_output; -#define printk(fmt, ...) \ - (pr_output ? printf(fmt, ##__VA_ARGS__) : 0) +#define printk(fmt, ...) printf(fmt, ##__VA_ARGS__) #define pr_err printk #define pr_warn printk |