mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 01:18:08 +07:00
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
This commit is contained in:
parent
1f8fa0cd6a
commit
5d69e46a21
@ -216,7 +216,6 @@ enum {
|
||||
|
||||
struct eeh_ops {
|
||||
char *name;
|
||||
int (*init)(void);
|
||||
struct eeh_dev *(*probe)(struct pci_dev *pdev);
|
||||
int (*set_option)(struct eeh_pe *pe, int option);
|
||||
int (*get_state)(struct eeh_pe *pe, int *delay);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user