[PATCH] powerpc/eeh: Remove duplicated check in eeh_dump_pe_log()

Andrew Donnellan andrew.donnellan at au1.ibm.com
Mon Feb 15 14:25:53 AEDT 2016


On 15/02/16 10:52, Gavin Shan wrote:
> When eeh_dump_pe_log() is called in eeh_slot_error_detail(), we
> already have the check that the PE isn't in PCI config blocked
> state. So we needn't the duplicated check in eeh_dump_pe_log().
>
> This removes the duplicated check in eeh_dump_pe_log().
>
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>

eeh_dump_pe_log() isn't called anywhere outside of 
eeh_slot_error_detail(), so this should have no functional change.

Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

-- 
Andrew Donnellan              Software Engineer, OzLabs
andrew.donnellan at au1.ibm.com  Australia Development Lab, Canberra
+61 2 6201 8874 (work)        IBM Australia Limited



More information about the Linuxppc-dev mailing list