summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-07-10 23:33:38 +0530
committerSeung-Woo Kim <sw0312.kim@samsung.com>2017-09-29 20:49:23 +0900
commitd90c447baf5d51fd0581dfb9996767e295d43069 (patch)
tree937ae65f85b83a628542656c8ccdfc12e78541c4
parentcd0a8ab2ab5c3fc71d321c66345ab3484fcec580 (diff)
downloadlinux-3.10-artik-d90c447baf5d51fd0581dfb9996767e295d43069.tar.gz
linux-3.10-artik-d90c447baf5d51fd0581dfb9996767e295d43069.tar.bz2
linux-3.10-artik-d90c447baf5d51fd0581dfb9996767e295d43069.zip
scripts: remove unused function in sortextable.c
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Acked-by: David Daney <david.daney@cavium.com> Signed-off-by: Michal Marek <mmarek@suse.cz> [sw0312.kim: cherry-pick from mainline to remove build warning] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Change-Id: Ib5eac1bded1efc40b2cc7e7c55b4b69dd207f580
-rw-r--r--scripts/sortextable.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index 1f10e89d15b..f5bca2204f4 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -60,14 +60,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