diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-02-18 15:16:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-02-19 08:54:09 +0100 |
commit | d99bb5264bcb633bbbb510a23e141601813e4104 (patch) | |
tree | 7a88d8271115e2a91a7547c1885fc85464a36651 /scripts | |
parent | a876d16e6ad3736d01dd3d1d2e956c79cc9d9881 (diff) | |
download | barebox-d99bb5264bcb633bbbb510a23e141601813e4104.tar.gz barebox-d99bb5264bcb633bbbb510a23e141601813e4104.tar.xz |
scripts: imd: remove duplicate macro definitions
include/scripts/linux/kernel.h included via #include <linux/kernel.h>
later on already defines these three macros. Remove them here to avoid
the warnings about the duplicate macro definition.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bareboximd.c | 4 |
1 files changed, 0 insertions, 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 <stdio.h> #include <sys/types.h> #include <stdint.h> |