Re: [PATCH] scripts: remove unused function in sortextable.c

From: David Daney
Date: Mon Jul 15 2013 - 12:58:35 EST


On 07/10/2013 11:03 AM, Ramkumar Ramachandra wrote:
Cc: David Daney <david.daney@xxxxxxxxxx>
Cc: Michal Marek <mmarek@xxxxxxx>
Signed-off-by: Ramkumar Ramachandra <artagnon@xxxxxxxxx>

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

Acked-by: David Daney <david.daney@xxxxxxxxxx>


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

scripts/sortextable.c | 8 --------
1 file changed, 8 deletions(-)

diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index f9ce116..7c2310c 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/