summaryrefslogtreecommitdiff
path: root/tools/bootconfig/include/linux/printk.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bootconfig/include/linux/printk.h')
-rw-r--r--tools/bootconfig/include/linux/printk.h5
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