diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-07-14 09:59:28 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 10:02:19 +0200 |
commit | a12c53f4fa759b59654b6d5f21eb4070cd45cd54 (patch) | |
tree | ca2c7ff8ecde4cc57518403fbd5ceb48fbe9f9cd /drivers/s390/char/sclp_vt220.c | |
parent | [S390] Cleanup zcrypt printk messages. (diff) | |
download | linux-a12c53f4fa759b59654b6d5f21eb4070cd45cd54.tar.xz linux-a12c53f4fa759b59654b6d5f21eb4070cd45cd54.zip |
[S390] Cleanup sclp printk messages.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/sclp_vt220.c')
-rw-r--r-- | drivers/s390/char/sclp_vt220.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/s390/char/sclp_vt220.c b/drivers/s390/char/sclp_vt220.c index baea4d548523..ad51738c4261 100644 --- a/drivers/s390/char/sclp_vt220.c +++ b/drivers/s390/char/sclp_vt220.c @@ -27,7 +27,6 @@ #include <asm/uaccess.h> #include "sclp.h" -#define SCLP_VT220_PRINT_HEADER "sclp vt220 tty driver: " #define SCLP_VT220_MAJOR TTY_MAJOR #define SCLP_VT220_MINOR 65 #define SCLP_VT220_DRIVER_NAME "sclp_vt220" @@ -716,12 +715,8 @@ static int __init sclp_vt220_tty_init(void) tty_set_operations(driver, &sclp_vt220_ops); rc = tty_register_driver(driver); - if (rc) { - printk(KERN_ERR SCLP_VT220_PRINT_HEADER - "could not register tty - " - "tty_register_driver returned %d\n", rc); + if (rc) goto out_init; - } sclp_vt220_driver = driver; return 0; |