aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp_hpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/pciehp_hpc.c')
-rw-r--r--drivers/pci/hotplug/pciehp_hpc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c
index d573338af1a4..aec1d663f623 100644
--- a/drivers/pci/hotplug/pciehp_hpc.c
+++ b/drivers/pci/hotplug/pciehp_hpc.c
@@ -930,7 +930,6 @@ static int pcie_init_slot(struct controller *ctrl)
930 930
931 slot->hp_slot = 0; 931 slot->hp_slot = 0;
932 slot->ctrl = ctrl; 932 slot->ctrl = ctrl;
933 slot->bus = ctrl->pci_dev->subordinate->number;
934 slot->device = ctrl->slot_device_offset + slot->hp_slot; 933 slot->device = ctrl->slot_device_offset + slot->hp_slot;
935 slot->hpc_ops = ctrl->hpc_ops; 934 slot->hpc_ops = ctrl->hpc_ops;
936 slot->number = ctrl->first_slot; 935 slot->number = ctrl->first_slot;