Skip to contentSkip to conversation

remove additional pci_scan_child_bus() prototype

PATCH New Adrian Bunk 1 participant 1 message Nov 9, 2007 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove additional pci_scan_child_bus() prototype

There's already a prototype for pci_scan_child_bus() at the correct place in pci.h, so there's no reason for an additional one.

---
23fdba3eb3ed7b531fbe005a810d10679b113d2e

drivers/pci/probe.c +0 -2
index de33a02..4b73d57 100644
@@ -486,8 +486,6 @@ static void pci_fixup_parent_subordinate_busnr(struct pci_bus *child, int max)
 	}
 }
 
-unsigned int pci_scan_child_bus(struct pci_bus *bus);
-
 /*
  * If it's a bridge, configure it and scan the bus behind it.
  * For CardBus bridges, we don't scan behind as the devices will