]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Cleanup use of notifier_from_errno()
authorPrarit Bhargava <prarit@redhat.com>
Thu, 13 Jan 2011 04:09:01 +0000 (04:09 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 2 Mar 2011 05:50:06 +0000 (16:50 +1100)
commit0c035ebe4c33b82f7a6df3f252ace04c9357d081
treebc7a7753201764f3e3cab7b7cc654a2e95c171d6
parentcfec079dc8edea44033e9792a0450092b89eb59f
powerpc/pseries: Cleanup use of notifier_from_errno()

Minor cleanup of notifier_from_errno() in powerpc.

notifier_from_errno() now contains the if(ret)/else conditional.
There is no need to do it in the powerpc code.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/cmm.c