Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316459
b: refs/heads/master
c: 533b660
h: refs/heads/master
i:
  316457: 42b1736
  316455: 88f1dd7
v: v3
  • Loading branch information
Bjorn Helgaas committed Jun 11, 2012
1 parent 1efa615 commit ae2e3d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 109cdbc223f6e2d6c80f8371f22415b50c18a366
refs/heads/master: 533b6608b73669309becd90f11f939b60bb221be
24 changes: 0 additions & 24 deletions trunk/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,30 +136,6 @@ void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar)
EXPORT_SYMBOL_GPL(pci_ioremap_bar);
#endif

#if 0
/**
* pci_max_busnr - returns maximum PCI bus number
*
* Returns the highest PCI bus number present in the system global list of
* PCI buses.
*/
unsigned char __devinit
pci_max_busnr(void)
{
struct pci_bus *bus = NULL;
unsigned char max, n;

max = 0;
while ((bus = pci_find_next_bus(bus)) != NULL) {
n = pci_bus_max_busnr(bus);
if(n > max)
max = n;
}
return max;
}

#endif /* 0 */

#define PCI_FIND_CAP_TTL 48

static int __pci_find_next_cap_ttl(struct pci_bus *bus, unsigned int devfn,
Expand Down

0 comments on commit ae2e3d7

Please sign in to comment.