]> Pileus Git - ~andy/linux/blobdiff - kernel/printk.c
HWPOISON: Refactor truncate to allow direct truncating of page v2
[~andy/linux] / kernel / printk.c
index e0daaf57985a279a7fffec4c2969b4945a0048f2..602033acd6c76e1f7ba06de0f053ff4ea4c28f77 100644 (file)
@@ -1075,12 +1075,6 @@ void __sched console_conditional_schedule(void)
 }
 EXPORT_SYMBOL(console_conditional_schedule);
 
-void console_print(const char *s)
-{
-       printk(KERN_EMERG "%s", s);
-}
-EXPORT_SYMBOL(console_print);
-
 void console_unblank(void)
 {
        struct console *c;
@@ -1352,7 +1346,7 @@ static int __init disable_boot_consoles(void)
                if (con->flags & CON_BOOT) {
                        printk(KERN_INFO "turn off boot console %s%d\n",
                                con->name, con->index);
-                       return unregister_console(con);
+                       unregister_console(con);
                }
        }
        return 0;