powerpc/eeh: Remove duplicated check in eeh_dump_pe_log()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Fri, 26 Feb 2016 00:14:00 +0000 (11:14 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Mar 2016 23:25:35 +0000 (10:25 +1100)
commitb6c7347f2f6176fa3225903fbfe63b1ccd01ec9d
treea2b7ac7f442dd00bb21a37c2452b6a2aa0960dc5
parenteca036ee1b4ea0ce4f311f4d8cb73731ef2f0b26
powerpc/eeh: Remove duplicated check in eeh_dump_pe_log()

When eeh_dump_pe_log() is only called by eeh_slot_error_detail(),
we already have the check that the PE isn't in PCI config blocked
state in eeh_slot_error_detail(). So we needn't the duplicated
check in eeh_dump_pe_log().

This removes the duplicated check in eeh_dump_pe_log(). No logical
changes introduced.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh.c