From: Dmitry Safonov Date: Tue, 27 Jul 2021 13:06:34 +0000 (+0100) Subject: printk: Remove console_silent() X-Git-Tag: v5.15-rc1~16^2~12^2~2^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c9110dfcfccb3f31eda47a36ed0a022e390d1417;p=users%2Fdwmw2%2Flinux.git 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 Reviewed-by: Petr Mladek Reviewed-by: Sergey Senozhatsky Signed-off-by: Petr Mladek Link: https://lore.kernel.org/r/20210727130635.675184-2-dima@arista.com --- diff --git a/include/linux/printk.h b/include/linux/printk.h index 1790a5521fd9d..f3f1a1eb19bdc 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)