summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-03-15 12:39:13 +0100
committerNico Huber <nico.h@gmx.de>2022-04-13 11:31:03 +0000
commita2be4c9dc638c029185e9ca0ca9752feae75523e (patch)
treef1a75196195f0027b7d165b4d6f62b1f806e7b5a /flashrom.c
parent4bd41e6bb5b96d7f71bebc03be93c7f7b433569e (diff)
downloadflashrom-a2be4c9dc638c029185e9ca0ca9752feae75523e.tar.gz
flashrom-a2be4c9dc638c029185e9ca0ca9752feae75523e.tar.bz2
flashrom-a2be4c9dc638c029185e9ca0ca9752feae75523e.zip
print_buildinfo: remove unreachable print of libpci version
The libpci header is neither directly nor indirectly included in flashrom.c. `PCILIB_VERSION` is therefore never set and the following print statement is dead code. Since libpci is the only library in buildinfo, Drop it. Change-Id: I0b5dbf3bd82a2ffe64b73881383e92f7dad4c382 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/62833 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/flashrom.c b/flashrom.c
index ac612596e..51a9fbee5 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -1646,13 +1646,6 @@ static void print_sysinfo(void)
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__