Thomas Heijligen has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/62833 )
Change subject: print_buildinfo: remove unreachable print of libpci version ......................................................................
print_buildinfo: remove unreachable print of libpci version
The libpci header is nether direct or indirect included in flashrom.c, `PCILIB_VERSION` is therefore never set and the folloing print statement is dead code. Since libpci is the only library in buildinfo, I drop it.
Change-Id: I0b5dbf3bd82a2ffe64b73881383e92f7dad4c382 Signed-off-by: Thomas Heijligen thomas.heijligen@secunet.com --- M flashrom.c 1 file changed, 0 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/33/62833/1
diff --git a/flashrom.c b/flashrom.c index ac61259..51a9fbe 100644 --- a/flashrom.c +++ b/flashrom.c @@ -1646,13 +1646,6 @@ void print_buildinfo(void) { msg_gdbg("flashrom was built with"); -#if NEED_PCI == 1 -#ifdef PCILIB_VERSION - msg_gdbg(" libpci %s,", PCILIB_VERSION); -#else - msg_gdbg(" unknown PCI library,"); -#endif -#endif #ifdef __clang__ msg_gdbg(" LLVM Clang"); #ifdef __clang_version__