diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/pci-slot.c | 3 | ||||
-rw-r--r-- | core/pcie-slot.c | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/core/pci-slot.c b/core/pci-slot.c index aa4bea6..075b34c 100644 --- a/core/pci-slot.c +++ b/core/pci-slot.c @@ -97,9 +97,6 @@ static int64_t pci_slot_sm_poll(struct pci_slot *slot) case PCI_SLOT_STATE_FRESET: ret = slot->ops.freset(slot); break; - case PCI_SLOT_STATE_PFRESET: - ret = slot->ops.pfreset(slot); - break; case PCI_SLOT_STATE_CRESET: ret = slot->ops.creset(slot); break; diff --git a/core/pcie-slot.c b/core/pcie-slot.c index 2484570..f9bef64 100644 --- a/core/pcie-slot.c +++ b/core/pcie-slot.c @@ -491,7 +491,6 @@ struct pci_slot *pcie_slot_create(struct phb *phb, struct pci_device *pd) slot->ops.poll_link = pcie_slot_sm_poll_link; slot->ops.hreset = pcie_slot_sm_hreset; slot->ops.freset = pcie_slot_sm_freset; - slot->ops.pfreset = NULL; return slot; } |