diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-21 08:08:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-21 08:08:37 +0200 |
commit | a485953521ce88a6f0641800400dbfa400b53b9e (patch) | |
tree | 3fc6a738cc01b8f3cf42b095013624c5ce07e3b0 | |
parent | ab058b10eb5deaf7ad00c6a2b7428aaec8d98473 (diff) | |
download | barebox-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.c | 3 |
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) { |