summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-06-21 08:08:35 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-06-21 08:08:37 +0200
commita485953521ce88a6f0641800400dbfa400b53b9e (patch)
tree3fc6a738cc01b8f3cf42b095013624c5ce07e3b0
parentab058b10eb5deaf7ad00c6a2b7428aaec8d98473 (diff)
downloadbarebox-a485953521ce88a6f0641800400dbfa400b53b9e.tar.gz
barebox-a485953521ce88a6f0641800400dbfa400b53b9e.tar.xz
module: remove duplicate ALIGN and __ALIGN_MASK definition
This is already defined in include/common.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--common/module.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/module.c b/common/module.c
index 109fe5cd00..eb882bce31 100644
--- a/common/module.c
+++ b/common/module.c
@@ -129,9 +129,6 @@ static int simplify_symbols(Elf32_Shdr *sechdrs,
return ret;
}
-#define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1)
-#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask))
-
/* Update size with this section: return offset. */
static long get_offset(unsigned long *size, Elf32_Shdr *sechdr)
{