summaryrefslogtreecommitdiffstats
path: root/include/linux
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 /include/linux
parentbb193c986a7104f718c1b92709e1e6e22ac3f864 (diff)
downloadtalos-op-linux-353f6dd2dec992ddd34620a94b051b0f76227379.tar.gz
talos-op-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 'include/linux')
-rw-r--r--include/linux/dtlk.h19
-rw-r--r--include/linux/tty.h4
2 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/dtlk.h b/include/linux/dtlk.h
index 2896d90118a9..22a7b9a5f5d1 100644
--- a/include/linux/dtlk.h
+++ b/include/linux/dtlk.h
@@ -1,22 +1,3 @@
-#if 0
-
-#define TRACE_TXT(text) \
- { \
- if(dtlk_trace) \
- { \
- console_print(text); \
- console_print("\n"); \
- } \
- }
-
-#define TRACE_CHR(chr) \
- { \
- if(dtlk_trace) \
- console_print(chr); \
- } \
-
-#endif
-
#define DTLK_MINOR 0
#define DTLK_IO_EXTENT 0x02
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 0d3974f59c53..a916a318004e 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -519,10 +519,6 @@ extern void serial_console_init(void);
extern int pcxe_open(struct tty_struct *tty, struct file *filp);
-/* printk.c */
-
-extern void console_print(const char *);
-
/* vt.c */
extern int vt_ioctl(struct tty_struct *tty, struct file *file,
OpenPOWER on IntegriCloud