Skip to contentSkip to conversation

pci hotplug: rm bogus item in rpaphp struct

PATCH New Linas Vepstas 1 participant 1 message Nov 14, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci hotplug: rm bogus item in rpaphp struct

Remove unused struct element.

----

 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
Index: linux-2.6.23-rc8-mm1/drivers/pci/hotplug/rpaphp.h
===================================================================
@@ -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
Index: linux-2.6.23-rc8-mm1/drivers/pci/hotplug/rpaphp_pci.c
===================================================================
@@ -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) {