diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2008-05-28 01:56:00 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-10 13:59:52 -0400 |
commit | b143b3cc82fac459feb1abdffb1d77be9805adaa (patch) | |
tree | 807c94583d98721d82eb7e1c71e32a738ac4b37d /drivers | |
parent | e3f2baebf4209b5927e23fa65d5977d31db936b3 (diff) |
pciehp: remove redundant pci_dev initialization
Remove the redundant initialization of pci_dev member of struct
controller in pciehp_probe(). It is initialized in pcie_init().
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/hotplug/pciehp_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c index 86d04c694000..54553b187b19 100644 --- a/drivers/pci/hotplug/pciehp_core.c +++ b/drivers/pci/hotplug/pciehp_core.c | |||
@@ -454,7 +454,6 @@ static int pciehp_probe(struct pcie_device *dev, const struct pcie_port_service_ | |||
454 | INIT_LIST_HEAD(&ctrl->slot_list); | 454 | INIT_LIST_HEAD(&ctrl->slot_list); |
455 | 455 | ||
456 | pdev = dev->port; | 456 | pdev = dev->port; |
457 | ctrl->pci_dev = pdev; | ||
458 | 457 | ||
459 | rc = pcie_init(ctrl, dev); | 458 | rc = pcie_init(ctrl, dev); |
460 | if (rc) { | 459 | if (rc) { |