summaryrefslogtreecommitdiffstats
path: root/common/module.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-03-08 08:51:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-10 14:48:49 +0100
commit0ed964589c0c26c2100618b4f5fdeb8ec20cab94 (patch)
tree25e7b022c58261e6800f07e09dff0ca4cd4a455d /common/module.c
parentdf850da651d23fffdb8c9f7b658872c38c8a0a0f (diff)
downloadbarebox-0ed964589c0c26c2100618b4f5fdeb8ec20cab94.tar.gz
module: CONFIG_COMMAND does not exist anymore, remove ifdefs
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/module.c')
-rw-r--r--common/module.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/module.c b/common/module.c
index 29f3eb7..c0ff0f2 100644
--- a/common/module.c
+++ b/common/module.c
@@ -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")) {