* [PATCH] scripts: remove unused function in sortextable.c
@ 2013-07-10 18:03 Ramkumar Ramachandra
2013-07-15 16:55 ` David Daney
0 siblings, 1 reply; 3+ messages in thread
From: Ramkumar Ramachandra @ 2013-07-10 18:03 UTC (permalink / raw)
To: LKML; +Cc: David Daney, Michal Marek
Cc: David Daney <david.daney@cavium.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
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
--
1.8.3.2.736.g869de25
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts: remove unused function in sortextable.c
2013-07-10 18:03 [PATCH] scripts: remove unused function in sortextable.c Ramkumar Ramachandra
@ 2013-07-15 16:55 ` David Daney
2013-07-25 14:21 ` Michal Marek
0 siblings, 1 reply; 3+ messages in thread
From: David Daney @ 2013-07-15 16:55 UTC (permalink / raw)
To: Ramkumar Ramachandra; +Cc: LKML, David Daney, Michal Marek
On 07/10/2013 11:03 AM, Ramkumar Ramachandra wrote:
> Cc: David Daney <david.daney@cavium.com>
> Cc: Michal Marek <mmarek@suse.cz>
> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
I haven't tested it, but it looks plausible.
Acked-by: David Daney <david.daney@cavium.com>
> ---
> 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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts: remove unused function in sortextable.c
2013-07-15 16:55 ` David Daney
@ 2013-07-25 14:21 ` Michal Marek
0 siblings, 0 replies; 3+ messages in thread
From: Michal Marek @ 2013-07-25 14:21 UTC (permalink / raw)
To: David Daney; +Cc: Ramkumar Ramachandra, LKML, David Daney
On Mon, Jul 15, 2013 at 09:55:56AM -0700, David Daney wrote:
> On 07/10/2013 11:03 AM, Ramkumar Ramachandra wrote:
> >Cc: David Daney <david.daney@cavium.com>
> >Cc: Michal Marek <mmarek@suse.cz>
> >Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
>
> I haven't tested it, but it looks plausible.
>
> Acked-by: David Daney <david.daney@cavium.com>
Applied to kbuild.git#kbuild, thanks.
Michal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-25 14:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-10 18:03 [PATCH] scripts: remove unused function in sortextable.c Ramkumar Ramachandra
2013-07-15 16:55 ` David Daney
2013-07-25 14:21 ` Michal Marek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).