From: Manish Ahuja <ahuja@austin•ibm.com>
To: ppc-dev <linuxppc-dev@ozlabs•org>
Subject: Minor: Removed double return.
Date: Fri, 06 Jul 2007 16:59:55 -0500 [thread overview]
Message-ID: <468EBB5B.2070309@austin.ibm.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
Found 2 instances of return one right after each other in
arch_add_memory(). This minor patch fixes it.
Signed-off-by:Manish Ahuja <mahuja@us•ibm.com>
[-- Attachment #2: double-return --]
[-- Type: text/plain, Size: 382 bytes --]
Index: 2.6.22-rc4/arch/powerpc/mm/mem.c
===================================================================
--- 2.6.22-rc4.orig/arch/powerpc/mm/mem.c 2007-06-11 21:10:46.000000000 -0500
+++ 2.6.22-rc4/arch/powerpc/mm/mem.c 2007-06-29 22:52:42.000000000 -0500
@@ -129,8 +129,6 @@
zone = pgdata->node_zones;
return __add_pages(zone, start_pfn, nr_pages);
-
- return 0;
}
/*
next reply other threads:[~2007-07-06 22:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-06 21:59 Manish Ahuja [this message]
2007-07-06 22:58 ` [PATCH] pseries: Re: Minor: Removed double return Linas Vepstas
2007-07-07 20:26 ` Manish Ahuja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468EBB5B.2070309@austin.ibm.com \
--to=ahuja@austin$(echo .)ibm.com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox