]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] PCI Hotplug/powerpc: more removal of duplicated code
authorlinas@austin.ibm.com <linas@austin.ibm.com>
Fri, 2 Dec 2005 00:59:58 +0000 (18:59 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Jan 2006 20:13:18 +0000 (12:13 -0800)
commitcd5b50be8d8e8e6170da3a261fc625fd603f9dc4
treeec3c36ffc5a6e90389ba8bd0ef252bb5a058b0af
parentd681db4aed4453c7d34adfbb64956271186514e9
[PATCH] PCI Hotplug/powerpc: more removal of duplicated code

The RPAPHP code contains two routines that appear to be gratuitous copies
of very similar pci code.  In particular,

   rpaphp_claim_resource ~~ pci_claim_resource
      (there is a minor, non-functional difference)

   rpadlpar_claim_one_bus == pcibios_claim_one_bus
      (the code is identical)

This patch removes the rpaphp versions of the code.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/rpadlpar_core.c
drivers/pci/hotplug/rpaphp_pci.c