aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-03-24 22:07:14 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-04 19:37:43 +1000
commit0a3ef48c2fac4691db6060df54723e46e0c69b2a (patch)
treeef5c1807f183cf7f3180693a090e409c5e454ef4
parentpowerpc/time: Fix sparse warnings (diff)
downloadlinux-dev-0a3ef48c2fac4691db6060df54723e46e0c69b2a.tar.xz
linux-dev-0a3ef48c2fac4691db6060df54723e46e0c69b2a.zip
powerpc/eeh: Remove unused inline function eeh_dev_phb_init_dynamic()
commit 475028efc708 ("powerpc/eeh: Remove eeh_dev_phb_init_dynamic()") left behind this, so can remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210324140714.19612-1-yuehaibing@huawei.com
-rw-r--r--arch/powerpc/include/asm/eeh.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h
index bd513fd49be9..7b2b3798dea0 100644
--- a/arch/powerpc/include/asm/eeh.h
+++ b/arch/powerpc/include/asm/eeh.h
@@ -333,8 +333,6 @@ static inline bool eeh_enabled(void)
static inline void eeh_show_enabled(void) { }
-static inline void eeh_dev_phb_init_dynamic(struct pci_controller *phb) { }
-
static inline int eeh_check_failure(const volatile void __iomem *token)
{
return 0;