powerpc/eeh: Slightly simplify eeh_add_to_parent_pe()
authorSam Bobroff <sbobroff@linux.ibm.com>
Fri, 16 Aug 2019 04:48:16 +0000 (14:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Aug 2019 13:12:47 +0000 (23:12 +1000)
commit27d4396ed5a1c70f894557fd5732725eb1d94542
tree9b55785fb9b8d3bc48b26e414ff533c711f5d5f9
parentcef50c67c1d511bbbc974cead2bebeb6f83730ce
powerpc/eeh: Slightly simplify eeh_add_to_parent_pe()

Simplify some needlessly complicated boolean logic in
eeh_add_to_parent_pe().

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/09259a50308f10aa764695912bc87dc1d1cf654c.1565930772.git.sbobroff@linux.ibm.com
arch/powerpc/kernel/eeh_pe.c