aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShile Zhang <[email protected]>2019-12-04 08:46:29 +0800
committerIngo Molnar <[email protected]>2019-12-13 10:47:58 +0100
commitabe4f92ca8948a3e04c56788354933c326909acb (patch)
tree1fb8c772fd54085f8652bb192f0e0bd96db14204
parent6402e1416255a7bb94834925ba0255c750f54a2d (diff)
scripts/sortextable: Remove dead code
Signed-off-by: Shile Zhang <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Michal Marek <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--scripts/sortextable.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/sortextable.h b/scripts/sortextable.h
index b7e407e09f59..a2e3af7bf211 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;