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:
committed by
Linus Torvalds
parent
bb193c986a
commit
353f6dd2de
@@ -171,7 +171,6 @@ static int startup(struct cyclades_port *);
|
||||
static void cy_throttle(struct tty_struct *);
|
||||
static void cy_unthrottle(struct tty_struct *);
|
||||
static void config_setup(struct cyclades_port *);
|
||||
extern void console_print(const char *);
|
||||
#ifdef CYCLOM_SHOW_STATUS
|
||||
static void show_status(int);
|
||||
#endif
|
||||
@@ -245,7 +244,7 @@ void SP(char *data)
|
||||
{
|
||||
unsigned long flags;
|
||||
local_irq_save(flags);
|
||||
console_print(data);
|
||||
printk(KERN_EMERG "%s", data);
|
||||
local_irq_restore(flags);
|
||||
}
|
||||
|
||||
@@ -255,7 +254,7 @@ void CP(char data)
|
||||
unsigned long flags;
|
||||
local_irq_save(flags);
|
||||
scrn[0] = data;
|
||||
console_print(scrn);
|
||||
printk(KERN_EMERG "%c", scrn);
|
||||
local_irq_restore(flags);
|
||||
} /* CP */
|
||||
|
||||
|
Reference in New Issue
Block a user