From: Kevin O'Connor Date: Sat, 9 Jul 2011 18:49:13 +0000 (-0400) Subject: Remove now unneeded find_pci(). X-Git-Tag: rel-1.6.3~43 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=20cbffed79338aac4cc3ecd90fe9f50fc7cd3086;p=seabios.git Remove now unneeded find_pci(). Signed-off-by: Kevin O'Connor --- diff --git a/src/boot.c b/src/boot.c index 4e86477..119f290 100644 --- a/src/boot.c +++ b/src/boot.c @@ -98,22 +98,9 @@ find_prio(const char *glob) #define FW_PCI_DOMAIN "/pci@i0cf8" -static struct pci_device * -find_pci(u16 bdf) -{ - struct pci_device *pci; - foreachpci(pci) { - if (pci->bdf == bdf) - return pci; - } - return NULL; -} - static char * build_pci_path(char *buf, int max, const char *devname, struct pci_device *pci) { - if (!pci) - return buf; // Build the string path of a bdf - for example: /pci@i0cf8/isa@1,2 char *p = buf; if (pci->parent) {