9
0
Fork 0

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>
This commit is contained in:
Sascha Hauer 2013-06-21 08:08:35 +02:00
parent ab058b10eb
commit a485953521
1 changed files with 0 additions and 3 deletions

View File

@ -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)
{