Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b3e998ee05773a3ac33d540aa341295acef4c56b
Commit:     b3e998ee05773a3ac33d540aa341295acef4c56b
Parent:     bc6b73e14e11b19d43c89920aa516813459c84da
Author:     Manish Ahuja <[EMAIL PROTECTED]>
AuthorDate: Sat Jul 7 07:59:55 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 22:01:01 2007 +1000

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/mm/mem.c |    2 --
 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;
 }
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to