From a485953521ce88a6f0641800400dbfa400b53b9e Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 21 Jun 2013 08:08:35 +0200 Subject: module: remove duplicate ALIGN and __ALIGN_MASK definition This is already defined in include/common.h Signed-off-by: Sascha Hauer --- common/module.c | 3 --- 1 file changed, 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) { -- cgit v1.2.3