summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorManish Ahuja <ahuja@austin.ibm.com>2007-07-07 07:59:55 +1000
committerPaul Mackerras <paulus@samba.org>2007-07-10 22:01:01 +1000
commitb3e998ee05773a3ac33d540aa341295acef4c56b (patch)
treed8b5198c149b16e945600e8d27bfdc0b5276c17f /arch/powerpc
parentbc6b73e14e11b19d43c89920aa516813459c84da (diff)
downloadop-kernel-dev-b3e998ee05773a3ac33d540aa341295acef4c56b.zip
op-kernel-dev-b3e998ee05773a3ac33d540aa341295acef4c56b.tar.gz
[POWERPC] Remove extra return statement
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/mm/mem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index 2c8790f..f0e7eed 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -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;
}
/*
OpenPOWER on IntegriCloud