diff --git a/tools/objtool/builtin-check.c b/tools/objtool/builtin-check.c index 46a8985953909ed62ce3f71c07088d8d0fd1d00d..a974f295dc427d2e3a9e86ce315e719c6b99275d 100644 --- a/tools/objtool/builtin-check.c +++ b/tools/objtool/builtin-check.c @@ -249,8 +249,6 @@ static int decode_instructions(struct objtool_file *file) struct instruction *insn; int ret; - INIT_LIST_HEAD(&file->insns); - list_for_each_entry(sec, &file->elf->sections, list) { if (!(sec->sh.sh_flags & SHF_EXECINSTR))