Skip to contentSkip to conversation

scripts: remove unused function in sortextable.c

PATCH In review Ramkumar Ramachandra 3 participants 3 messages Jul 10, 2013 – Jul 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts: remove unused function in sortextable.c

---
Trivial. I wonder why make didn't tell us?

 scripts/sortextable.c | 8 --------
 1 file changed, 8 deletions(-)
scripts/sortextable.c +0 -8
index f9ce116..7c2310c 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Ramkumar Ramachandra

I haven't tested it, but it looks plausible.

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
index f9ce116..7c2310c 100644
@@ -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