powerpc/pseries/ras: Delete a redundant condition branch
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 10 May 2021 13:19:24 +0000 (21:19 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 23 May 2021 10:51:34 +0000 (20:51 +1000)
commitad06bcfd5b8f989690053e6026cf742886ba9f90
treeb7d5db3eb62bcbffddeb2d38fea5c97ca6b9c7ee
parentc67454615cf95160cb806f7a471158a901eb261d
powerpc/pseries/ras: Delete a redundant condition branch

The statement of the last "if (xxx)" branch is the same as the "else"
branch. Delete it to simplify code.

No functional change.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210510131924.3907-1-thunder.leizhen@huawei.com
arch/powerpc/platforms/pseries/ras.c