Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5ddc809 authored by Martin Schwidefsky's avatar Martin Schwidefsky Committed by Heiko Carstens
Browse files

[S390] Cleanup smsgiucv printk messages.

parent d4ebabe8
Loading
Loading
Loading
Loading
+2 −8
Original line number Original line Diff line number Diff line
@@ -156,11 +156,8 @@ static int __init smsg_init(void)
	if (rc != 0)
	if (rc != 0)
		goto out;
		goto out;
	rc = iucv_register(&smsg_handler, 1);
	rc = iucv_register(&smsg_handler, 1);
	if (rc) {
	if (rc)
		printk(KERN_ERR "SMSGIUCV: failed to register to iucv");
		rc = -EIO;	/* better errno ? */
		goto out_driver;
		goto out_driver;
	}
	smsg_path = iucv_path_alloc(255, 0, GFP_KERNEL);
	smsg_path = iucv_path_alloc(255, 0, GFP_KERNEL);
	if (!smsg_path) {
	if (!smsg_path) {
		rc = -ENOMEM;
		rc = -ENOMEM;
@@ -168,11 +165,8 @@ static int __init smsg_init(void)
	}
	}
	rc = iucv_path_connect(smsg_path, &smsg_handler, "*MSG    ",
	rc = iucv_path_connect(smsg_path, &smsg_handler, "*MSG    ",
			       NULL, NULL, NULL);
			       NULL, NULL, NULL);
	if (rc) {
	if (rc)
		printk(KERN_ERR "SMSGIUCV: failed to connect to *MSG");
		rc = -EIO;	/* better errno ? */
		goto out_free;
		goto out_free;
	}
	cpcmd("SET SMSG IUCV", NULL, 0, NULL);
	cpcmd("SET SMSG IUCV", NULL, 0, NULL);
	return 0;
	return 0;