pci hotplug: rm bogus item in rpaphp struct
PATCH 1/1 pci hotplug: rm bogus item in rpaphp struct
Remove unused struct element.
Signed-off-by Linas Vepstas <[email protected]>
----
drivers/pci/hotplug/rpaphp.h | 1 - drivers/pci/hotplug/rpaphp_pci.c | 1 - 2 files changed, 2 deletions(-)
drivers/pci/hotplug/rpaphp.h +0 -1
@@ -76,7 +76,6 @@ struct slot {char *name;struct device_node *dn;struct pci_bus *bus; -struct list_head *pci_devs;struct hotplug_slot *hotplug_slot; };
drivers/pci/hotplug/rpaphp_pci.c +0 -1
@@ -100,7 +100,6 @@ int rpaphp_enable_slot(struct slot *slot info->adapter_status =EMPTY ; slot->bus = bus; - slot->pci_devs = &bus->devices;/* if there's an adapter in the slot, go add the pci devices */ if (state ==PRESENT ) {