[tip: core/objtool] scripts/sortextable: Remove dead code
From: tip-bot2 for Shile Zhang
Date: Fri Dec 13 2019 - 05:04:19 EST
The following commit has been merged into the core/objtool branch of tip:
Commit-ID: abe4f92ca8948a3e04c56788354933c326909acb
Gitweb: https://git.kernel.org/tip/abe4f92ca8948a3e04c56788354933c326909acb
Author: Shile Zhang <shile.zhang@xxxxxxxxxxxxxxxxx>
AuthorDate: Wed, 04 Dec 2019 08:46:29 +08:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Fri, 13 Dec 2019 10:47:58 +01:00
scripts/sortextable: Remove dead code
Signed-off-by: Shile Zhang <shile.zhang@xxxxxxxxxxxxxxxxx>
Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Cc: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Cc: Michal Marek <michal.lkml@xxxxxxxxxxx>
Cc: linux-kbuild@xxxxxxxxxxxxxxx
Link: https://lkml.kernel.org/r/20191204004633.88660-4-shile.zhang@xxxxxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
scripts/sortextable.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/scripts/sortextable.h b/scripts/sortextable.h
index b7e407e..a2e3af7 100644
--- a/scripts/sortextable.h
+++ b/scripts/sortextable.h
@@ -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;