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

Commit 221195fb authored by Greg Kurz's avatar Greg Kurz Committed by Benjamin Herrenschmidt
Browse files

powerpc: Drop useless warning in eeh_init()



This is what we get in dmesg when booting a pseries guest and
the hypervisor doesn't provide EEH support.

[    0.166655] EEH functionality not supported
[    0.166778] eeh_init: Failed to call platform init function (-22)

Since both powernv_eeh_init() and pseries_eeh_init() already complain when
hitting an error, it is not needed to print more (especially such an
uninformative message).

Signed-off-by: default avatarGreg Kurz <gkurz@linux.vnet.ibm.com>
Acked-by: default avatarGavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 6d626c5e
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -933,11 +933,8 @@ int eeh_init(void)
		pr_warn("%s: Platform EEH operation not found\n",
			__func__);
		return -EEXIST;
	} else if ((ret = eeh_ops->init())) {
		pr_warn("%s: Failed to call platform init function (%d)\n",
			__func__, ret);
	} else if ((ret = eeh_ops->init()))
		return ret;
	}

	/* Initialize EEH event */
	ret = eeh_event_init();