diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-09-15 04:28:28 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-17 13:06:02 -0400 |
commit | a2359a334fb2c89347e031c4494282e6756e9ae7 (patch) | |
tree | 9ac5e61752318def916d47fd0ea27b62b19dbc3c /drivers/pci/hotplug/pciehp_ctrl.c | |
parent | 0e3631593c38e8a09bf58a46c6f6a3426d3ad0f0 (diff) |
PCI: pciehp: remove slot_device_offset field
Since the device number of the hot-slot under the PCIe downstream port
is always 0, the slot_device_offset field in the slot is meaningless
and we don't need it.
Acked-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pciehp_ctrl.c')
-rw-r--r-- | drivers/pci/hotplug/pciehp_ctrl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/pciehp_ctrl.c b/drivers/pci/hotplug/pciehp_ctrl.c index 1b5e476a48b9..beb081703fd8 100644 --- a/drivers/pci/hotplug/pciehp_ctrl.c +++ b/drivers/pci/hotplug/pciehp_ctrl.c | |||
@@ -210,9 +210,6 @@ static int board_added(struct slot *p_slot) | |||
210 | struct controller *ctrl = p_slot->ctrl; | 210 | struct controller *ctrl = p_slot->ctrl; |
211 | struct pci_bus *parent = ctrl->pci_dev->subordinate; | 211 | struct pci_bus *parent = ctrl->pci_dev->subordinate; |
212 | 212 | ||
213 | ctrl_dbg(ctrl, "%s: slot device, slot offset = 0, %d\n", | ||
214 | __func__, ctrl->slot_device_offset); | ||
215 | |||
216 | if (POWER_CTRL(ctrl)) { | 213 | if (POWER_CTRL(ctrl)) { |
217 | /* Power on slot */ | 214 | /* Power on slot */ |
218 | retval = p_slot->hpc_ops->power_on_slot(p_slot); | 215 | retval = p_slot->hpc_ops->power_on_slot(p_slot); |