NEED_PCI: remove macro

The NEED_PCI macro is only used to guard prototypes. This is not needed.

Change-Id: I6895b795bc96b3e251700bff4b0054407aac789a
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/62834
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72320
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/Makefile b/Makefile
index 82440e6..be6f441 100644
--- a/Makefile
+++ b/Makefile
@@ -813,7 +813,6 @@
 USE_LIBPCI := $(if $(call filter_deps,$(DEPENDS_ON_LIBPCI)),yes,no)
 ifeq ($(USE_LIBPCI), yes)
 PROGRAMMER_OBJS += pcidev.o
-FEATURE_FLAGS += -D'NEED_PCI=1'
 override CFLAGS  += $(CONFIG_LIBPCI_CFLAGS)
 override LDFLAGS += $(CONFIG_LIBPCI_LDFLAGS)
 endif
diff --git a/meson.build b/meson.build
index 09572a3..be61892 100644
--- a/meson.build
+++ b/meson.build
@@ -155,7 +155,6 @@
 if get_option('pciutils')
   srcs += 'pcidev.c'
   deps += dependency('libpci')
-  cargs += '-DNEED_PCI=1'
 elif need_libpci
   error('pciutils is disabled but one or more enabled programmer requires PCI access')
 endif
diff --git a/programmer.h b/programmer.h
index 9351d85..cbbbd26 100644
--- a/programmer.h
+++ b/programmer.h
@@ -112,7 +112,6 @@
 	unsigned int half_period;
 };
 
-#if NEED_PCI == 1
 struct pci_dev;
 struct pci_filter;
 
@@ -137,7 +136,6 @@
 int rpci_write_byte(struct pci_dev *dev, int reg, uint8_t data);
 int rpci_write_word(struct pci_dev *dev, int reg, uint16_t data);
 int rpci_write_long(struct pci_dev *dev, int reg, uint32_t data);
-#endif
 
 #if CONFIG_INTERNAL == 1
 struct penable {