stdlib: Drop duplicates of min() and max()
Change-Id: Ib2f6fad735e085d237a0d46e0586e123eef6e0e2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6161 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
|
||||
#define EINVAL -1
|
||||
|
||||
#define max(x,y) (x>=y)?x:y
|
||||
|
||||
#if CONFIG_CONSOLE_BTEXT
|
||||
/*
|
||||
* Elements of the hardware specific atyfb_par structure
|
||||
|
@@ -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))
|
||||
|
Reference in New Issue
Block a user