diff options
Diffstat (limited to 'kernel/printk.c')
-rw-r--r-- | kernel/printk.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index 6f27c6a4bdc9..aee891a869a4 100644 --- a/kernel/printk.c +++ b/kernel/printk.c | |||
@@ -1303,22 +1303,6 @@ static int __init disable_boot_consoles(void) | |||
1303 | } | 1303 | } |
1304 | late_initcall(disable_boot_consoles); | 1304 | late_initcall(disable_boot_consoles); |
1305 | 1305 | ||
1306 | /** | ||
1307 | * tty_write_message - write a message to a certain tty, not just the console. | ||
1308 | * @tty: the destination tty_struct | ||
1309 | * @msg: the message to write | ||
1310 | * | ||
1311 | * This is used for messages that need to be redirected to a specific tty. | ||
1312 | * We don't put it into the syslog queue right now maybe in the future if | ||
1313 | * really needed. | ||
1314 | */ | ||
1315 | void tty_write_message(struct tty_struct *tty, char *msg) | ||
1316 | { | ||
1317 | if (tty && tty->ops->write) | ||
1318 | tty->ops->write(tty, msg, strlen(msg)); | ||
1319 | return; | ||
1320 | } | ||
1321 | |||
1322 | #if defined CONFIG_PRINTK | 1306 | #if defined CONFIG_PRINTK |
1323 | 1307 | ||
1324 | /* | 1308 | /* |