PCI: pciehp: remove slot_num_inc field
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 15 Sep 2009 08:25:54 +0000 (17:25 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Sep 2009 17:05:41 +0000 (10:05 -0700)
The slot_num_inc field in struct controller is unused and meaningless
in pciehp driver.

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>
drivers/pci/hotplug/pciehp.h

index 0282bae..cfd2f59 100644 (file)
@@ -93,7 +93,6 @@ struct event_info {
 struct controller {
        struct mutex crit_sect;         /* critical section mutex */
        struct mutex ctrl_lock;         /* controller lock */
-       int slot_num_inc;               /* 1 or -1 */
        struct pci_dev *pci_dev;
        struct pcie_device *pcie;       /* PCI Express port service */
        struct slot *slot;