OSDN Git Service

powerpc: Drop useless warning in eeh_init()
authorGreg Kurz <gkurz@linux.vnet.ibm.com>
Tue, 25 Nov 2014 16:10:06 +0000 (17:10 +0100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 2 Dec 2014 00:03:45 +0000 (11:03 +1100)
commit221195fb80daa1a0c2fd54a023081c416fe93340
tree9720157eadd3581c614d58aab02dacbe970705a5
parent6d626c5ea3d8411cc2a72d7cabe70f01dfc32d1d
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: Greg Kurz <gkurz@linux.vnet.ibm.com>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/eeh.c