[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1408596086.9307.3.camel@concordia>
Date: Thu, 21 Aug 2014 14:41:26 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Himangi Saraogi <himangi774@...il.com>
Cc: benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>, rcj4747@...il.com
Subject: Re: [PATCH] powerpc/pseries: Drop unnecessary continue
On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote:
> Continue is not needed at the bottom of a loop.
True.
I wonder though, is the code trying to continue to the outer loop? I stared at
it for a minute but it wasn't obvious.
I wonder if Robert still remembers?
cheers
> diff --git a/arch/powerpc/platforms/pseries/cmm.c b/arch/powerpc/platforms/pseries/cmm.c
> index 2d8bf15..fc44ad0 100644
> --- a/arch/powerpc/platforms/pseries/cmm.c
> +++ b/arch/powerpc/platforms/pseries/cmm.c
> @@ -555,7 +555,6 @@ static int cmm_mem_going_offline(void *arg)
> pa_last = pa_last->next;
> free_page((unsigned long)cmm_page_list);
> cmm_page_list = pa_last;
> - continue;
> }
> }
> pa_curr = pa_curr->next;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists