summaryrefslogtreecommitdiff
path: root/include/linux/printk.h
diff options
context:
space:
mode:
authorDmitry Safonov <dima@arista.com>2021-07-27 16:06:34 +0300
committerPetr Mladek <pmladek@suse.com>2021-07-29 17:07:06 +0300
commitc9110dfcfccb3f31eda47a36ed0a022e390d1417 (patch)
tree4a4665e3f61b86ace6235b7cf92f737585fe8fd0 /include/linux/printk.h
parente563592c3e4296780e5a184a917b8b86e126f0b3 (diff)
downloadlinux-c9110dfcfccb3f31eda47a36ed0a022e390d1417.tar.xz
printk: Remove console_silent()
It' unused since removal of mn10300: commit 739d875dd698 ("mn10300: Remove the architecture") x86 stopped using it in v2.6.12 (see history git): commit 7574828b3dbb ("[PATCH] x86_64: add nmi button support") Let's clean it up from the header. Signed-off-by: Dmitry Safonov <dima@arista.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20210727130635.675184-2-dima@arista.com
Diffstat (limited to 'include/linux/printk.h')
-rw-r--r--include/linux/printk.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h
index 1790a5521fd9..f3f1a1eb19bd 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -69,11 +69,6 @@ extern int console_printk[];
#define minimum_console_loglevel (console_printk[2])
#define default_console_loglevel (console_printk[3])
-static inline void console_silent(void)
-{
- console_loglevel = CONSOLE_LOGLEVEL_SILENT;
-}
-
static inline void console_verbose(void)
{
if (console_loglevel)