9
0
Fork 0

module: CONFIG_COMMAND does not exist anymore, remove ifdefs

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-03-08 08:51:48 +01:00
parent df850da651
commit 0ed964589c
1 changed files with 0 additions and 2 deletions

View File

@ -294,7 +294,6 @@ struct module * load_module(void *mod_image, unsigned long len)
numsyms = sechdrs[symindex].sh_size / sizeof(Elf32_Sym);
sym = (void *)sechdrs[symindex].sh_addr;
#ifdef CONFIG_COMMAND
cmdindex = find_sec(ehdr, sechdrs, secstrings, ".barebox_cmd");
if (cmdindex) {
struct command *cmd =(struct command *)sechdrs[cmdindex].sh_addr;
@ -303,7 +302,6 @@ struct module * load_module(void *mod_image, unsigned long len)
cmd++;
}
}
#endif
for (i = 0; i < numsyms; i++) {
if (!strcmp(strtab + sym[i].st_name, MODULE_SYMBOL_PREFIX "init_module")) {