summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/pciehp.h
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-09-15 12:27:24 +0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-09-17 21:05:58 +0400
commit0e3631593c38e8a09bf58a46c6f6a3426d3ad0f0 (patch)
treee5b47555b2f4611c9c478367fe9000d3812c62b1 /drivers/pci/hotplug/pciehp.h
parentd689f7eb364a51ccd857605dede0d6c22a1aad91 (diff)
downloadlinux-0e3631593c38e8a09bf58a46c6f6a3426d3ad0f0.tar.xz
PCI: pciehp: remove hp_slot field
The hp_slot field is to identify the slot under the same controller. But, since PCIe downstream port has only one slot at most, it 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.h')
-rw-r--r--drivers/pci/hotplug/pciehp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index d69a96cd9681..382c939ef7ae 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -73,7 +73,6 @@ do { \
#define SLOT_NAME_SIZE 10
struct slot {
u8 state;
- u8 hp_slot;
u32 number;
struct controller *ctrl;
struct hpc_ops *hpc_ops;