Skip to contentSkip to conversation

MIPS: remove alloc_pci_controller prototype

PATCH New Jonas Gorski 1 participant 1 message Jun 15, 2013 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: remove alloc_pci_controller prototype

Commit 610019baddcb4c4c323c12cd44ca7f73d7145d6f ("[MIPS] Remove unused function alloc_pci_controller.") removed the function, but left the prototype in the header file.

Remove it as well so people don't get tempted to use it and wonder why it doesn't work.

---
The commit is from 2005(!) and ended up in 2.6.18.

 arch/mips/include/asm/pci.h |    1 -
 1 file changed, 1 deletion(-)
arch/mips/include/asm/pci.h +0 -1
index b8e24fd..fa8e0aa 100644
@@ -52,7 +52,6 @@ struct pci_controller {
 /*
  * Used by boards to register their PCI busses before the actual scanning.
  */
-extern struct pci_controller * alloc_pci_controller(void);
 extern void register_pci_controller(struct pci_controller *hose);
 
 /*
Signature · 1 line
1.7.10.4