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 <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e563592 commit c9110df

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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)