From 7b0521df5398ff1a6c0061d7232021087ea3842c Mon Sep 17 00:00:00 2001 From: Nigel Croxon Date: Fri, 17 Feb 2017 16:19:16 -0500 Subject: [PATCH] remove dead code Signed-off-by: David Decotigny Signed-off-by: Nigel Croxon --- apps/route80h.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/apps/route80h.c b/apps/route80h.c index b0b142f..8df860c 100644 --- a/apps/route80h.c +++ b/apps/route80h.c @@ -40,15 +40,6 @@ static inline void set_bit(volatile uint32_t *flag, int bit, int value) Print(L"new value is 0x%2x\n", val); } -static inline int configspace_matches_ids(void *config, uint32_t vendor_id, - uint32_t device_id) -{ - uint32_t *cfg = config; - if (cfg[0] == vendor_id && cfg[1] == device_id) - return 1; - return 0; -} - static int is_device(EFI_PCI_IO *pciio, uint16_t vendor_id, uint16_t device_id) { lpcif_t lpcif;