linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pci hotplug: rm bogus item in rpaphp struct
@ 2007-11-14  1:19 Linas Vepstas
  0 siblings, 0 replies; only message in thread
From: Linas Vepstas @ 2007-11-14  1:19 UTC (permalink / raw)
  To: Greg KH, gregkh, Kristen Carlson Accardi; +Cc: linuxppc-dev, linux-pci


Remove unused struct element.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>

----
 drivers/pci/hotplug/rpaphp.h     |    1 -
 drivers/pci/hotplug/rpaphp_pci.c |    1 -
 2 files changed, 2 deletions(-)

Index: linux-2.6.23-rc8-mm1/drivers/pci/hotplug/rpaphp.h
===================================================================
--- linux-2.6.23-rc8-mm1.orig/drivers/pci/hotplug/rpaphp.h	2007-11-13 18:37:31.000000000 -0600
+++ linux-2.6.23-rc8-mm1/drivers/pci/hotplug/rpaphp.h	2007-11-13 19:00:42.000000000 -0600
@@ -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;
 };
 
Index: linux-2.6.23-rc8-mm1/drivers/pci/hotplug/rpaphp_pci.c
===================================================================
--- linux-2.6.23-rc8-mm1.orig/drivers/pci/hotplug/rpaphp_pci.c	2007-11-13 18:37:31.000000000 -0600
+++ linux-2.6.23-rc8-mm1/drivers/pci/hotplug/rpaphp_pci.c	2007-11-13 19:00:13.000000000 -0600
@@ -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) {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-14  1:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14  1:19 [PATCH] pci hotplug: rm bogus item in rpaphp struct Linas Vepstas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).