lkml.org 
[lkml]   [2000]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectPATCH: remove dead code resource_fixup()
Date
From

ooops...

------- Forwarded Message

<linux-kernel@vger.rutgers.edu>: host vger.rutgers.edu[128.6.14.121] said: 550
<linux-kernel@vger.rutgers.edu>... User unknown


Date: Fri, 3 Nov 2000 09:54:19 -0800 (PST)
From: Grant Grundler <grundler@cup.hp.com>
Message-Id: <200011031754.JAA00148@milano.cup.hp.com>
To: torvalds@transmeta.com
Subject: PATCH: remove dead code resource_fixup()
Cc: linux-kernel@vger.rutgers.edu

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

"David S. Miller" <davem@redhat.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.022 / U:42.384 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site