diff options
author | Anirban Sinha <asinha@zeugmasystems.com> | 2009-09-14 14:13:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-14 20:41:42 -0400 |
commit | 353f6dd2dec992ddd34620a94b051b0f76227379 (patch) | |
tree | 38f48b57f8f0f1bb05983ec32205fac9b8bab14c /kernel/printk.c | |
parent | bb193c986a7104f718c1b92709e1e6e22ac3f864 (diff) |
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.c | 6 |
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) | |||
1075 | } | 1075 | } |
1076 | EXPORT_SYMBOL(console_conditional_schedule); | 1076 | EXPORT_SYMBOL(console_conditional_schedule); |
1077 | 1077 | ||
1078 | void console_print(const char *s) | ||
1079 | { | ||
1080 | printk(KERN_EMERG "%s", s); | ||
1081 | } | ||
1082 | EXPORT_SYMBOL(console_print); | ||
1083 | |||
1084 | void console_unblank(void) | 1078 | void console_unblank(void) |
1085 | { | 1079 | { |
1086 | struct console *c; | 1080 | struct console *c; |