scripts: remove unused function in sortextable.c
PATCH 1/1 scripts: remove unused function in sortextable.c
Cc David Daney <[email protected]>
Cc Michal Marek <[email protected]>
Signed-off-by Ramkumar Ramachandra <[email protected]>
---
Trivial. I wonder why make didn't tell us?
scripts/sortextable.c | 8 -------- 1 file changed, 8 deletions(-)
scripts/sortextable.c +0 -8
@@ -64,14 +64,6 @@ fail_file(void)longjmp (jmpenv,SJ_FAIL ); } -static void __attribute__((noreturn)) -succeed_file (void ) -{ -cleanup (); -longjmp (jmpenv,SJ_SUCCEED ); -} - -/* * Get the whole file as a programming convenience in order to avoid * malloc+lseek+read+free of many pieces. If successful, then mmap
Signature · 1 line
1.8.3.2.736.g869de25
Quoted 3 lines · Ramkumar Ramachandra
Cc David Daney <[email protected]>Cc Michal Marek <[email protected]>Signed-off-by Ramkumar Ramachandra <[email protected]>
I haven't tested it, but it looks plausible.
Acked-by David Daney <[email protected]>
Quoted 26 lines
---
Trivial. I wonder why make didn't tell us?scripts/sortextable.c | 8 -------- 1 file changed, 8 deletions(-)scripts/sortextable.c +0
-8@@ -64,14 +64,6 @@ fail_file(void)longjmp (jmpenv,SJ_FAIL ); } -static void __attribute__((noreturn)) -succeed_file (void ) -{ -cleanup (); -longjmp (jmpenv,SJ_SUCCEED ); -} - -/* * Get the whole file as a programming convenience in order to avoid * malloc+lseek+read+free of many pieces. If successful, then mmap
Quoted 8 lines · David Daney
Quoted 3 lines · Ramkumar Ramachandra
Cc David Daney <[email protected]>Cc Michal Marek <[email protected]>Signed-off-by Ramkumar Ramachandra <[email protected]>I haven't tested it, but it looks plausible.
Acked-by David Daney <[email protected]>
Applied to kbuild.git#kbuild, thanks.
Michal