We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f8fa0c commit 5d69e46Copy full SHA for 5d69e46
arch/powerpc/include/asm/eeh.h
@@ -216,7 +216,6 @@ enum {
216
217
struct eeh_ops {
218
char *name;
219
- int (*init)(void);
220
struct eeh_dev *(*probe)(struct pci_dev *pdev);
221
int (*set_option)(struct eeh_pe *pe, int option);
222
int (*get_state)(struct eeh_pe *pe, int *delay);
arch/powerpc/kernel/eeh.c
@@ -965,14 +965,6 @@ int eeh_init(struct eeh_ops *ops)
965
return ret;
966
}
967
968
- if (eeh_ops->init)
969
- ret = eeh_ops->init();
970
- if (ret) {
971
- pr_warn("%s: platform EEH init failed (%d)\n",
972
- __func__, ret);
973
- return ret;
974
- }
975
-
976
/* Initialize PHB PEs */
977
list_for_each_entry_safe(hose, tmp, &hose_list, list_node)
978
eeh_phb_pe_create(hose);
0 commit comments