summaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorAnirban Sinha <asinha@zeugmasystems.com>2009-09-14 11:13:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-14 17:41:42 -0700
commit353f6dd2dec992ddd34620a94b051b0f76227379 (patch)
tree38f48b57f8f0f1bb05983ec32205fac9b8bab14c /kernel/printk.c
parentbb193c986a7104f718c1b92709e1e6e22ac3f864 (diff)
downloadlinux-353f6dd2dec992ddd34620a94b051b0f76227379.tar.gz
linux-353f6dd2dec992ddd34620a94b051b0f76227379.tar.bz2
linux-353f6dd2dec992ddd34620a94b051b0f76227379.zip
cleanup console_print()
console_print() is an old legacy interface mostly unused in the entire kernel tree. It's best to clean up its existing use and let developers use their own implementation of it as they feel fit. Signed-off-by: Anirban Sinha <asinha@zeugmasystems.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index e10d193a833a..602033acd6c7 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -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;