summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/fs3270.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-07-14 09:59:25 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 10:02:18 +0200
commita26182ed7171bff74caf5a55d4d3bdd6f400dfb5 (patch)
tree2be368a0adb988f5ac9f6abc3c8ec323d117a18d /drivers/s390/char/fs3270.c
parent8df22b4b39c6a1679f471bd68f97cf6f6819571a (diff)
downloadlinux-a26182ed7171bff74caf5a55d4d3bdd6f400dfb5.tar.gz
linux-a26182ed7171bff74caf5a55d4d3bdd6f400dfb5.tar.bz2
linux-a26182ed7171bff74caf5a55d4d3bdd6f400dfb5.zip
[S390] Cleanup 3270 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/fs3270.c')
-rw-r--r--drivers/s390/char/fs3270.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/s390/char/fs3270.c b/drivers/s390/char/fs3270.c
index f0d67af96402..e136d10a0de6 100644
--- a/drivers/s390/char/fs3270.c
+++ b/drivers/s390/char/fs3270.c
@@ -512,11 +512,8 @@ fs3270_init(void)
int rc;
rc = register_chrdev(IBM_FS3270_MAJOR, "fs3270", &fs3270_fops);
- if (rc) {
- printk(KERN_ERR "fs3270 can't get major number %d: errno %d\n",
- IBM_FS3270_MAJOR, rc);
+ if (rc)
return rc;
- }
return 0;
}