From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3] pinctrl/pinconfig: add debug interface
Date: Thu, 18 Apr 2013 11:52:46 +0100 [thread overview]
Message-ID: <20130418105246.GO14496@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1366281314-14613-1-git-send-email-linus.walleij@stericsson.com>
On Thu, Apr 18, 2013 at 12:35:14PM +0200, Linus Walleij wrote:
> + if (map->type != dbg->map_type)
> + continue;
> + if (!!strcmp(map->dev_name, dbg->dev_name))
!! is pointless in this context - if() evaluates any non-zero value as
true, so there's no point making the code more complicated by trying to
convert it to a false/true value first.
next prev parent reply other threads:[~2013-04-18 10:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-18 10:35 [PATCH v3] pinctrl/pinconfig: add debug interface Linus Walleij
2013-04-18 10:52 ` Russell King - ARM Linux [this message]
2013-04-19 13:47 ` Linus Walleij
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=20130418105246.GO14496@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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).