pciehp: remove redundant pci_dev initialization
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 28 May 2008 05:56:00 +0000 (14:56 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 17:59:52 +0000 (10:59 -0700)
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>
drivers/pci/hotplug/pciehp_core.c

index 86d04c694000df42c104e416148bd7936e615761..54553b187b19086ae992b25e3012fd91c4aecc49 100644 (file)
@@ -454,7 +454,6 @@ static int pciehp_probe(struct pcie_device *dev, const struct pcie_port_service_
        INIT_LIST_HEAD(&ctrl->slot_list);
 
        pdev = dev->port;
-       ctrl->pci_dev = pdev;
 
        rc = pcie_init(ctrl, dev);
        if (rc) {