aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnirban Sinha <asinha@zeugmasystems.com>2009-09-14 14:13:37 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-14 20:41:42 -0400
commit353f6dd2dec992ddd34620a94b051b0f76227379 (patch)
tree38f48b57f8f0f1bb05983ec32205fac9b8bab14c /include
parentbb193c986a7104f718c1b92709e1e6e22ac3f864 (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 'include')
-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 @@
1#if 0
2
3#define TRACE_TXT(text) \
4 { \
5 if(dtlk_trace) \
6 { \
7 console_print(text); \
8 console_print("\n"); \
9 } \
10 }
11
12#define TRACE_CHR(chr) \
13 { \
14 if(dtlk_trace) \
15 console_print(chr); \
16 } \
17
18#endif
19
20#define DTLK_MINOR 0 1#define DTLK_MINOR 0
21#define DTLK_IO_EXTENT 0x02 2#define DTLK_IO_EXTENT 0x02
22 3
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);
519 519
520extern int pcxe_open(struct tty_struct *tty, struct file *filp); 520extern int pcxe_open(struct tty_struct *tty, struct file *filp);
521 521
522/* printk.c */
523
524extern void console_print(const char *);
525
526/* vt.c */ 522/* vt.c */
527 523
528extern int vt_ioctl(struct tty_struct *tty, struct file *file, 524extern int vt_ioctl(struct tty_struct *tty, struct file *file,