From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: "Hsin-Yu.Chen" <harry021633@gmail.com>
Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] i2c: remove redundant condition
Date: Thu, 7 Mar 2024 09:37:25 +0100 [thread overview]
Message-ID: <Zel8xbERYjSRznfu@shikoro> (raw)
In-Reply-To: <20240306041900.22885-1-harry021633@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]
On Wed, Mar 06, 2024 at 12:19:00PM +0800, Hsin-Yu.Chen wrote:
> I2C_M_RD is defined as 1 and `flag & I2C_M_RD` is one or zero
> no need for an additional condition to obtain the value
>
> Signed-off-by: Hsin-Yu.Chen <harry021633@gmail.com>
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2024-03-07 8:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 4:19 [PATCH] i2c: remove redundant condition Hsin-Yu.Chen
2024-03-07 8:37 ` Wolfram Sang [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-05 16:56 Hsin-Yu.Chen
2024-03-06 1:32 ` Andi Shyti
2024-02-24 11:50 zoanana990
2024-03-04 20:54 ` Wolfram Sang
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=Zel8xbERYjSRznfu@shikoro \
--to=wsa+renesas@sang-engineering.com \
--cc=harry021633@gmail.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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 read-only IMAP folder(s) and NNTP newsgroup(s).