[PATCH i-g-t 01/17] tools/intel_bios_reader: drop unused macros

Jani Nikula
2016-05-03T14:19:13Z

tools/intel_bios_reader.c | 8 --------
1 file changed, 8 deletions(-)

diff --git a/tools/intel_bios_reader.c b/tools/intel_bios_reader.c
index 991ee79545c2..709d386431fd 100644
--- a/tools/intel_bios_reader.c
+++ b/tools/intel_bios_reader.c
@@ -55,14 +55,6 @@ static uint32_t devid = -1;

uint8_t *VBIOS;

-#define INTEL_BIOS_8(_addr) (VBIOS[_addr])
-#define INTEL_BIOS_16(_addr) (VBIOS[_addr] | \
- (VBIOS[_addr + 1] << 8))
-#define INTEL_BIOS_32(_addr) (VBIOS[_addr] | \
- (VBIOS[_addr + 1] << 8) | \
- (VBIOS[_addr + 2] << 16) | \
- (VBIOS[_addr + 3] << 24))
-
#define YESNO(val) ((val) ? "yes" : "no")

/* This is not for mapping to memory layout. */