ooops...

------- Forwarded Message

<[EMAIL PROTECTED]>: host vger.rutgers.edu[128.6.14.121] said: 550
    <[EMAIL PROTECTED]>... User unknown


Date: Fri, 3 Nov 2000 09:54:19 -0800 (PST)
From: Grant Grundler <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: PATCH: remove dead code resource_fixup()
Cc: [EMAIL PROTECTED]

Hi Linus,
The following patch against linux-2.4.0-test10 removes resource_free() code.

"David S. Miller" <[EMAIL PROTECTED]> wrote:
| Yeah, it's dead code, feel free to send Linus a patch which kills
| it off :-)

thanks,
grant

diff -uNpr linux/arch/ppc/kernel/pci.c linux.patch/arch/ppc/kernel/pci.c
- --- linux/arch/ppc/kernel/pci.c       Sun Sep 17 09:48:07 2000
+++ linux.patch/arch/ppc/kernel/pci.c   Fri Nov  3 09:37:25 2000
@@ -344,11 +344,6 @@ pcibios_fixup_pbus_ranges(struct pci_bus
        ranges->mem_end -= bus->resource[1]->start;
 }
 
- -unsigned long resource_fixup(struct pci_dev * dev, struct resource * res,
- -                          unsigned long start, unsigned long size)
- -{
- -     return start;
- -}
 
 void __init pcibios_fixup_bus(struct pci_bus *bus)
 {
diff -uNpr linux/arch/sparc/kernel/pcic.c linux.patch/arch/sparc/kernel/pcic.c
- --- linux/arch/sparc/kernel/pcic.c    Tue Oct  3 09:24:41 2000
+++ linux.patch/arch/sparc/kernel/pcic.c        Fri Nov  3 09:37:13 2000
@@ -866,23 +866,6 @@ void pcibios_update_resource(struct pci_
 {
 }
 
- -#if 0
- -void pcibios_update_irq(struct pci_dev *pdev, int irq)
- -{
- -}
- -
- -unsigned long resource_fixup(struct pci_dev *pdev, struct resource *res,
- -                          unsigned long start, unsigned long size)
- -{
- -     return start;
- -}
- -
- -void pcibios_fixup_pbus_ranges(struct pci_bus *pbus,
- -                            struct pbus_set_ranges_data *pranges)
- -{
- -}
- -#endif
- -
 void pcibios_align_resource(void *data, struct resource *res, unsigned long size)
 {
 }
diff -uNpr linux/arch/sparc64/kernel/pci.c linux.patch/arch/sparc64/kernel/pci.c
- --- linux/arch/sparc64/kernel/pci.c   Tue Oct 10 10:33:51 2000
+++ linux.patch/arch/sparc64/kernel/pci.c       Fri Nov  3 09:37:42 2000
@@ -202,12 +202,6 @@ void pcibios_update_irq(struct pci_dev *
 {
 }
 
- -unsigned long resource_fixup(struct pci_dev *pdev, struct resource *res,
- -                          unsigned long start, unsigned long size)
- -{
- -     return start;
- -}
- -
 void pcibios_fixup_pbus_ranges(struct pci_bus *pbus,
                               struct pbus_set_ranges_data *pranges)
 {

------- End of Forwarded Message
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to