[SeaBIOS] [PATCH 7/7] Remove now unneeded find_pci().
Kevin O'Connor
kevin at koconnor.net
Sat Jul 9 20:59:16 CEST 2011
---
src/boot.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
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 at 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 at i0cf8/isa at 1,2
char *p = buf;
if (pci->parent) {
--
1.7.4.4
More information about the SeaBIOS
mailing list