summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAnirban Sinha <asinha@zeugmasystems.com>2009-09-14 20:13:37 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-15 02:41:42 +0200
commit353f6dd2dec992ddd34620a94b051b0f76227379 (patch)
tree38f48b57f8f0f1bb05983ec32205fac9b8bab14c /kernel
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pen... (diff)
downloadlinux-353f6dd2dec992ddd34620a94b051b0f76227379.tar.xz
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')
-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;