Subject: [PATCH] pseries: Re: Minor: Removed double return.

From: [email-masked] (Linas Vepstas)
Date: Fri, 6 Jul 2007 17:58:26 -0500

You want to say its a patch in the subject line.

--linas

On Fri, Jul 06, 2007 at 04:59:55PM -0500, Manish Ahuja wrote:
> Found 2 instances of return one right after each other in 
> arch_add_memory(). This minor patch fixes it.
> Signed-off-by:Manish Ahuja <[email-masked]>
> 
> 

> Index: 2.6.22-rc4/arch/powerpc/mm/mem.c
> ===================================================================
> --- 2.6.22-rc4.orig/arch/powerpc/mm/mem.c	2007-06-11 21:10:46.000000000 -0500
> +++ 2.6.22-rc4/arch/powerpc/mm/mem.c	2007-06-29 22:52:42.000000000 -0500
> @@ -129,8 +129,6 @@
>  	zone = pgdata->node_zones;
>  
>  	return __add_pages(zone, start_pfn, nr_pages);
> -
> -	return 0;
>  }
>  
>  /*