* [PATCH] nohz: fix compile warning in tick_nohz_init()
@ 2013-07-16 4:18 Li Zhong
2013-07-16 16:13 ` Frederic Weisbecker
0 siblings, 1 reply; 2+ messages in thread
From: Li Zhong @ 2013-07-16 4:18 UTC (permalink / raw)
To: Frederic Weisbecker; +Cc: LKML
cpu is not used after commit 5b8621a68fdcd2baf1d3b413726f913a5254d46a
Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
---
kernel/time/tick-sched.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index e80183f..8145860 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -343,8 +343,6 @@ static int tick_nohz_init_all(void)
void __init tick_nohz_init(void)
{
- int cpu;
-
if (!have_nohz_full_mask) {
if (tick_nohz_init_all() < 0)
return;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nohz: fix compile warning in tick_nohz_init()
2013-07-16 4:18 [PATCH] nohz: fix compile warning in tick_nohz_init() Li Zhong
@ 2013-07-16 16:13 ` Frederic Weisbecker
0 siblings, 0 replies; 2+ messages in thread
From: Frederic Weisbecker @ 2013-07-16 16:13 UTC (permalink / raw)
To: Li Zhong; +Cc: LKML
On Tue, Jul 16, 2013 at 12:18:47PM +0800, Li Zhong wrote:
> cpu is not used after commit 5b8621a68fdcd2baf1d3b413726f913a5254d46a
>
> Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Applied, thanks!
> ---
> kernel/time/tick-sched.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
> index e80183f..8145860 100644
> --- a/kernel/time/tick-sched.c
> +++ b/kernel/time/tick-sched.c
> @@ -343,8 +343,6 @@ static int tick_nohz_init_all(void)
>
> void __init tick_nohz_init(void)
> {
> - int cpu;
> -
> if (!have_nohz_full_mask) {
> if (tick_nohz_init_all() < 0)
> return;
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-16 16:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-16 4:18 [PATCH] nohz: fix compile warning in tick_nohz_init() Li Zhong
2013-07-16 16:13 ` Frederic Weisbecker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.