Skip to content

Commit c9110df

Browse files
0x7f454c46pmladek
authored andcommitted
printk: Remove console_silent()
It' unused since removal of mn10300: commit 739d875 ("mn10300: Remove the architecture") x86 stopped using it in v2.6.12 (see history git): commit 7574828 ("[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
1 parent e563592 commit c9110df

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

include/linux/printk.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,6 @@ extern int console_printk[];
6969
#define minimum_console_loglevel (console_printk[2])
7070
#define default_console_loglevel (console_printk[3])
7171

72-
static inline void console_silent(void)
73-
{
74-
console_loglevel = CONSOLE_LOGLEVEL_SILENT;
75-
}
76-
7772
static inline void console_verbose(void)
7873
{
7974
if (console_loglevel)

0 commit comments

Comments
 (0)