From 931c1dcec043e6baac718a94f8731cc31461d4db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 30 Jun 2014 09:40:19 +0300 Subject: stdlib: Drop duplicates of min() and max() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib2f6fad735e085d237a0d46e0586e123eef6e0e2 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/6161 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/drivers/pc80/tpm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/drivers/pc80') diff --git a/src/drivers/pc80/tpm.c b/src/drivers/pc80/tpm.c index f581ab49d3..40f1e7bd4e 100644 --- a/src/drivers/pc80/tpm.c +++ b/src/drivers/pc80/tpm.c @@ -50,8 +50,6 @@ TPM_DEBUG("Write reg 0x%x with 0x%x\n", (reg_), (val_)) #define printf(x...) printk(BIOS_ERR, x) -#define min(a,b) MIN(a,b) -#define max(a,b) MAX(a,b) #define readb(_a) (*(volatile unsigned char *) (_a)) #define writeb(_v, _a) (*(volatile unsigned char *) (_a) = (_v)) #define readl(_a) (*(volatile unsigned long *) (_a)) -- cgit v1.2.3