diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-09-15 04:25:54 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-17 13:05:41 -0400 |
commit | 6a11c135f3511743d09474ccaac2137d34c352a8 (patch) | |
tree | 4d24d141eb01f49c1b12a7c77a85cf848ad87e6c /drivers/pci | |
parent | e23727da77109ef856f7a76c1a7d2e2282f600f5 (diff) |
PCI: pciehp: remove slot_num_inc field
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index 0282bae81eb1..cfd2f59b6100 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h | |||
@@ -93,7 +93,6 @@ struct event_info { | |||
93 | struct controller { | 93 | struct controller { |
94 | struct mutex crit_sect; /* critical section mutex */ | 94 | struct mutex crit_sect; /* critical section mutex */ |
95 | struct mutex ctrl_lock; /* controller lock */ | 95 | struct mutex ctrl_lock; /* controller lock */ |
96 | int slot_num_inc; /* 1 or -1 */ | ||
97 | struct pci_dev *pci_dev; | 96 | struct pci_dev *pci_dev; |
98 | struct pcie_device *pcie; /* PCI Express port service */ | 97 | struct pcie_device *pcie; /* PCI Express port service */ |
99 | struct slot *slot; | 98 | struct slot *slot; |