Re: [PATCH] i2c: remove redundant condition

From: Wolfram Sang
Date: Thu Mar 07 2024 - 03:37:48 EST


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@xxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature