projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc6b73e
)
[POWERPC] Remove extra return statement
author
Manish Ahuja
<ahuja@austin.ibm.com>
Fri, 6 Jul 2007 21:59:55 +0000
(07:59 +1000)
committer
Paul 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/mem.c
b/arch/powerpc/mm/mem.c
index 2c8790f36be21ca8a24fba7d5d3568d2f285c7dd..f0e7eedb1ba36677fe0d1d74d2d3c1dd6bf617b2 100644
(file)
--- 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;
}
/*