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>
This commit is contained in:
parent
bb193c986a
commit
353f6dd2de
7 changed files with 11 additions and 32 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue