提交 31e4898f 编写于 作者: S Shile Zhang

scripts/sortextable: Remove dead code

commit abe4f92ca8948a3e04c56788354933c326909acb upstream.
Signed-off-by: NShile Zhang <shile.zhang@linux.alibaba.com>
Acked-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: linux-kbuild@vger.kernel.org
Link: https://lkml.kernel.org/r/20191204004633.88660-4-shile.zhang@linux.alibaba.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
Acked-by: NCaspar Zhang <caspar@linux.alibaba.com>
上级 d8a6d037
...@@ -203,10 +203,6 @@ static int do_func(Elf_Ehdr *ehdr, ...@@ -203,10 +203,6 @@ static int do_func(Elf_Ehdr *ehdr,
_r(&sort_needed_sym->st_value) - _r(&sort_needed_sym->st_value) -
_r(&sort_needed_sec->sh_addr); _r(&sort_needed_sec->sh_addr);
#if 0
printf("sort done marker at %lx\n",
(unsigned long)((char *)sort_done_location - (char *)ehdr));
#endif
/* We sorted it, clear the flag. */ /* We sorted it, clear the flag. */
w(0, sort_done_location); w(0, sort_done_location);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册