diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-07-14 09:59:33 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 10:02:21 +0200 |
commit | d5ddc809bf3e63a9cd6d02062f6a7c86bcff7fea (patch) | |
tree | d5ebd250d5c71db49670b6851772a0b57fe729e3 /drivers/s390 | |
parent | d4ebabe8cae5a9265eb55b7f873b6b7d92c0cdd6 (diff) | |
download | linux-d5ddc809bf3e63a9cd6d02062f6a7c86bcff7fea.tar.gz linux-d5ddc809bf3e63a9cd6d02062f6a7c86bcff7fea.tar.bz2 linux-d5ddc809bf3e63a9cd6d02062f6a7c86bcff7fea.zip |
[S390] Cleanup smsgiucv 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')
-rw-r--r-- | drivers/s390/net/smsgiucv.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/s390/net/smsgiucv.c b/drivers/s390/net/smsgiucv.c index 8735a415a116..164e090c2625 100644 --- a/drivers/s390/net/smsgiucv.c +++ b/drivers/s390/net/smsgiucv.c @@ -156,11 +156,8 @@ static int __init smsg_init(void) if (rc != 0) goto out; rc = iucv_register(&smsg_handler, 1); - if (rc) { - printk(KERN_ERR "SMSGIUCV: failed to register to iucv"); - rc = -EIO; /* better errno ? */ + if (rc) goto out_driver; - } smsg_path = iucv_path_alloc(255, 0, GFP_KERNEL); if (!smsg_path) { rc = -ENOMEM; @@ -168,11 +165,8 @@ static int __init smsg_init(void) } rc = iucv_path_connect(smsg_path, &smsg_handler, "*MSG ", NULL, NULL, NULL); - if (rc) { - printk(KERN_ERR "SMSGIUCV: failed to connect to *MSG"); - rc = -EIO; /* better errno ? */ + if (rc) goto out_free; - } cpcmd("SET SMSG IUCV", NULL, 0, NULL); return 0; |