powerpc/pseries/cmm: Cleanup rc handling in cmm_init()
authorDavid Hildenbrand <david@redhat.com>
Thu, 31 Oct 2019 14:29:24 +0000 (15:29 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 05:58:00 +0000 (16:58 +1100)
commit68f7a04932bbcd72973fd58b16a817f4bf99171a
tree389ac966dfac692c4e767e18f8e5c266760e5d92
parent022da223180137b25f070a7d0b1fe114e1e87433
powerpc/pseries/cmm: Cleanup rc handling in cmm_init()

No need to initialize rc. Also, let's return 0 directly when
succeeding.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191031142933.10779-4-david@redhat.com
arch/powerpc/platforms/pseries/cmm.c