From d99bb5264bcb633bbbb510a23e141601813e4104 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Tue, 18 Feb 2020 15:16:36 +0100 Subject: scripts: imd: remove duplicate macro definitions include/scripts/linux/kernel.h included via #include later on already defines these three macros. Remove them here to avoid the warnings about the duplicate macro definition. Signed-off-by: Ahmad Fatoum Signed-off-by: Sascha Hauer --- scripts/bareboximd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/bareboximd.c b/scripts/bareboximd.c index cf1b8f693a..e5000e0aea 100644 --- a/scripts/bareboximd.c +++ b/scripts/bareboximd.c @@ -16,10 +16,6 @@ * */ -#define __ALIGN_MASK(x, mask) (((x) + (mask)) & ~(mask)) -#define ALIGN(x, a) __ALIGN_MASK(x, (typeof(x))(a) - 1) -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - #include #include #include -- cgit v1.2.3