summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2020-09-18 11:30:45 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2020-10-06 14:22:25 +0200
commit5d69e46a2104050c0a458c6bf6abba5f58f56e4c (patch)
tree8d10aa2e922cc383341298e821617d22777d2f4b /arch/powerpc/kernel
parentpowerpc/pseries: Stop using eeh_ops->init() (diff)
downloadlinux-5d69e46a2104050c0a458c6bf6abba5f58f56e4c.tar.xz
linux-5d69e46a2104050c0a458c6bf6abba5f58f56e4c.zip
powerpc/eeh: Delete eeh_ops->init
No longer used since the platforms perform their EEH initialisation before calling eeh_init(). Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200918093050.37344-4-oohall@gmail.com
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/eeh.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c
index 28a0ea5d9faa..98faf139e676 100644
--- a/arch/powerpc/kernel/eeh.c
+++ b/arch/powerpc/kernel/eeh.c
@@ -965,14 +965,6 @@ int eeh_init(struct eeh_ops *ops)
return ret;
}
- if (eeh_ops->init)
- ret = eeh_ops->init();
- if (ret) {
- pr_warn("%s: platform EEH init failed (%d)\n",
- __func__, ret);
- return ret;
- }
-
/* Initialize PHB PEs */
list_for_each_entry_safe(hose, tmp, &hose_list, list_node)
eeh_phb_pe_create(hose);