linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: linas@austin.ibm.com (Linas Vepstas)
To: Manish Ahuja <ahuja@austin.ibm.com>
Cc: ppc-dev <linuxppc-dev@ozlabs.org>
Subject: [PATCH] pseries: Re: Minor: Removed double return.
Date: Fri, 6 Jul 2007 17:58:26 -0500	[thread overview]
Message-ID: <20070706225826.GE4457@austin.ibm.com> (raw)
In-Reply-To: <468EBB5B.2070309@austin.ibm.com>


You want to say its a patch in the subject line.

--linas

On Fri, Jul 06, 2007 at 04:59:55PM -0500, Manish Ahuja wrote:
> 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>
> 
> 

> 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;
>  }
>  
>  /*

  reply	other threads:[~2007-07-06 22:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06 21:59 Minor: Removed double return Manish Ahuja
2007-07-06 22:58 ` Linas Vepstas [this message]
2007-07-07 20:26   ` [PATCH] pseries: " 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=20070706225826.GE4457@austin.ibm.com \
    --to=linas@austin.ibm.com \
    --cc=ahuja@austin.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).