Thomas Heijligen has uploaded this change for review.

View Change

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__

To view, visit change 62833. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0b5dbf3bd82a2ffe64b73881383e92f7dad4c382
Gerrit-Change-Number: 62833
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Heijligen <src@posteo.de>
Gerrit-MessageType: newchange