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

Manish Ahuja ahuja at austin.ibm.com
Sun Jul 8 06:26:20 EST 2007


Ah yes, my mistake. Does it require a repost then ?

Thanks,
Manish

Linas Vepstas wrote:
> 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 <mahuja at us.ibm.com>
>>
>>
>>     
>
>   
>> 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;
>>  }
>>  
>>  /*
>>     
>
>   




More information about the Linuxppc-dev mailing list