scripts/sortextable: Remove dead code
Signed-off-by: Shile Zhang <shile.zhang@linux.alibaba.com> Acked-by: Peter 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.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
@@ -201,10 +201,6 @@ static int do_func(Elf_Ehdr *ehdr,
|
||||
_r(&sort_needed_sym->st_value) -
|
||||
_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. */
|
||||
w(0, sort_done_location);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user