lkml.org 
[lkml]   [2013]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] nohz: fix compile warning in tick_nohz_init()
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;
>
>


\
 
 \ /
  Last update: 2013-07-16 19:22    [W:0.023 / U:2.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site