summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-13 22:30:12 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-21 06:46:52 +0200
commit2baad5f96b498812626eadb6f6af3eb41d8656a3 (patch)
tree96617ff2422732cccd9b8741befe593232af7201 /drivers
parentPCI: doc/pci: create Documentation/PCI/ and move files into it (diff)
downloadlinux-2baad5f96b498812626eadb6f6af3eb41d8656a3.tar.xz
linux-2baad5f96b498812626eadb6f6af3eb41d8656a3.zip
PCI: #if 0 pci_assign_resource_fixed()
An unused function that bloated the kernel only when CONFIG_EMBEDDED was enabled... Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/setup-res.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c
index 4be7ccf7e3ae..9e4d485ba9cd 100644
--- a/drivers/pci/setup-res.c
+++ b/drivers/pci/setup-res.c
@@ -171,7 +171,7 @@ int pci_assign_resource(struct pci_dev *dev, int resno)
return ret;
}
-#ifdef CONFIG_EMBEDDED
+#if 0
int pci_assign_resource_fixed(struct pci_dev *dev, int resno)
{
struct pci_bus *bus = dev->bus;