Skip to content

Commit

Permalink
[POWERPC] Remove extra return statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manish Ahuja authored and Paul Mackerras committed Jul 10, 2007
1 parent bc6b73e commit b3e998e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/mm/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit b3e998e

Please sign in to comment.