]> err.no Git - linux-2.6/commitdiff
[POWERPC] Remove extra return statement
authorManish Ahuja <ahuja@austin.ibm.com>
Fri, 6 Jul 2007 21:59:55 +0000 (07:59 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 12:01:01 +0000 (22:01 +1000)
Found 2 instances of return one right after each other in
arch_add_memory().  This removes the superfluous one.

Signed-off-by: Manish Ahuja <mahuja@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/mem.c

index 2c8790f36be21ca8a24fba7d5d3568d2f285c7dd..f0e7eedb1ba36677fe0d1d74d2d3c1dd6bf617b2 100644 (file)
@@ -128,8 +128,6 @@ int __devinit arch_add_memory(int nid, u64 start, u64 size)
        zone = pgdata->node_zones;
 
        return __add_pages(zone, start_pfn, nr_pages);
-
-       return 0;
 }
 
 /*