From cc87b8fa384fa510aa2ed75ca7325cef229a8f31 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Wed, 27 Sep 2017 16:40:25 +0900 Subject: [PATCH] arch: sc8830: sci_types: remove the redefined macro Arleady defined 'MAX' and 'MIN' in include/common.h Remove the redefined 'MAX'/'MIN' macro. Change-Id: I7a5a15ee137b87133f619ac1803843734c10762c Signed-off-by: Jaehoon Chung --- arch/arm/include/asm/arch-sc8830/sci_types.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/include/asm/arch-sc8830/sci_types.h b/arch/arm/include/asm/arch-sc8830/sci_types.h index 82f97ee..fbedf9a 100644 --- a/arch/arm/include/asm/arch-sc8830/sci_types.h +++ b/arch/arm/include/asm/arch-sc8830/sci_types.h @@ -153,9 +153,6 @@ typedef uint32 BLOCK_ID; /* some usefule marcos */ #define Bit(_i) ((u32) 1<<(_i)) -#define MAX( _x, _y ) ( ((_x) > (_y)) ? (_x) : (_y) ) - -#define MIN( _x, _y ) ( ((_x) < (_y)) ? (_x) : (_y) ) #define WORD_LO(_xxx) ((uint8) ((int16)(_xxx))) #define WORD_HI(_xxx) ((uint8) ((int16)(_xxx) >> 8)) -- 2.34.1