]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
PCI: Remove unused declarations
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 4 Oct 2017 20:40:46 +0000 (15:40 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 8 Nov 2017 00:38:48 +0000 (18:38 -0600)
Remove these unused declarations:

  pcibios_config_init()              # never defined anywhere
  pcibios_scan_root()                # only defined by x86
  pcibios_get_irq_routing_table()    # only defined by x86
  pcibios_set_irq_routing()          # only defined by x86

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
arch/cris/include/asm/pci.h
arch/ia64/include/asm/pci.h
arch/mn10300/unit-asb2305/pci-asb2305.h
arch/x86/include/asm/pci.h

index 8ea640560a46db26e963363b5d18a588bc9e2a6c..141337bf16bca0c7c881b911fd450c64f0b454c2 100644 (file)
 
 #define PCIBIOS_MIN_CARDBUS_IO 0x4000
 
-void pcibios_config_init(void);
-struct pci_bus * pcibios_scan_root(int bus);
-
-struct irq_routing_table *pcibios_get_irq_routing_table(void);
-int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq);
-
 /* Dynamic DMA mapping stuff.
  * i386 has everything mapped statically.
  */
index 8c4b37f6be3d527f07eea2ae953d75b17cc8fb59..915531ede6a5163296ed67c16d63d1e3584b4277 100644 (file)
@@ -29,8 +29,6 @@ struct pci_vector_struct {
 #define PCIBIOS_MIN_IO         0x1000
 #define PCIBIOS_MIN_MEM                0x10000000
 
-void pcibios_config_init(void);
-
 /*
  * PCI_DMA_BUS_IS_PHYS should be set to 1 if there is _necessarily_ a direct
  * correspondence between device bus addresses and CPU physical addresses.
index 96c484b12226566999248042c6182eb9a4af66d4..0667f613b023cb29c733951854e6bd0891a761a8 100644 (file)
@@ -30,9 +30,6 @@ extern void pcibios_resource_survey(void);
 
 extern struct pci_ops *pci_root_ops;
 
-extern struct irq_routing_table *pcibios_get_irq_routing_table(void);
-extern int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq);
-
 /* pci-irq.c */
 
 struct irq_info {
index 645019085bb8f034e7304962258b3fbb3963e6b6..53873a875c0119dbd7cf002319937897bc4d6b9a 100644 (file)
@@ -88,7 +88,6 @@ extern unsigned long pci_mem_start;
 #define PCIBIOS_MIN_CARDBUS_IO 0x4000
 
 extern int pcibios_enabled;
-void pcibios_config_init(void);
 void pcibios_scan_root(int bus);
 
 struct irq_routing_table *pcibios_get_irq_routing_table(void);