mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: john@grabjohn.com
Cc: "René Scharfe" <l.s.r@web.de>,
	linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: Re: [TRIVIAL] Cleanup in fs/devpts/inode.c
Date: 29 Mar 2003 14:12:27 -0500	[thread overview]
Message-ID: <1048965146.9025.714.camel@localhost> (raw)
In-Reply-To: <200303291829.h2TITPPi000418@81-2-122-30.bradfords.org.uk>

On Sat, 2003-03-29 at 13:29, john@grabjohn.com wrote:

> Why not use
> 
> err = (IS_ERR(devpts_mnt) ? err = 0 : PTR_ERR(devpts_mnt));
> 
> ?

The point of his cleanup is that you already know err is zero (look
again).

You also got it backward.

	Robert Love


  parent reply	other threads:[~2003-03-29 19:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-29 18:26 René Scharfe
2003-03-29 18:29 ` john
2003-03-29 18:36   ` Robert P. J. Day
2003-03-29 19:12   ` Robert Love [this message]
2003-03-29 20:00   ` Felipe Alfaro Solana
2003-03-29 20:14   ` Alex Bligh - linux-kernel
2003-03-29 21:39     ` john

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=1048965146.9025.714.camel@localhost \
    --to=rml@tech9.net \
    --cc=john@grabjohn.com \
    --cc=l.s.r@web.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@rustcorp.com.au \
    /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

all inboxes | Powered by JetHome®