summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-04-27 03:14:53 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-12 11:52:20 +0200
commitd6d63d720db3a63dd45142c2ce7978b52e0e684f (patch)
tree6e774a003811e694bad9fd17d8567d4ec2e55e27 /arch
parentpowerpc/eeh: Ignore handlers in eeh_pe_reset_and_recover() (diff)
downloadlinux-d6d63d720db3a63dd45142c2ce7978b52e0e684f.tar.xz
linux-d6d63d720db3a63dd45142c2ce7978b52e0e684f.zip
powerpc/eeh: Drop unnecessary label in eeh_pe_change_owner()
The label "reset" in eeh_pe_change_owner() is used only for once. No need to keep it and just drop it. No logical changes introduced. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/eeh.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c
index c4e41cf79874..9d1d46ccf16c 100644
--- a/arch/powerpc/kernel/eeh.c
+++ b/arch/powerpc/kernel/eeh.c
@@ -1336,14 +1336,11 @@ static int eeh_pe_change_owner(struct eeh_pe *pe)
id->subdevice != pdev->subsystem_device)
continue;
- goto reset;
+ return eeh_pe_reset_and_recover(pe);
}
}
return eeh_unfreeze_pe(pe, true);
-
-reset:
- return eeh_pe_reset_and_recover(pe);
}
/**