[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173099237651.321265.12505050790055493032.b4-ty@mit.edu>
Date: Thu, 7 Nov 2024 10:12:56 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: "Theodore Ts'o" <tytso@....edu>, adilger.kernel@...ger.ca,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH -next] ext4: Simplify if condition
On Fri, 30 Aug 2024 15:17:13 +0800, Jiapeng Chong wrote:
> The if condition !A || A && B can be simplified to !A || B.
>
> ./fs/ext4/fast_commit.c:362:21-23: WARNING !A || A && B is equivalent to !A || B.
>
>
Applied, thanks!
[1/1] ext4: Simplify if condition
commit: 296eb810fa1f346f3a1eae46504459a3f81126dc
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists