Re: [PATCH] btrfs: Simplify the calculation of variables

From: David Sterba
Date: Thu Jan 28 2021 - 05:47:27 EST


On Wed, Jan 27, 2021 at 04:11:37PM +0800, Abaci Team wrote:
> Fix the following coccicheck warnings:
>
> ./fs/btrfs/delayed-inode.c:1157:39-41: WARNING !A || A && B is
> equivalent to !A || B.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Suggested-by: Jiapeng Zhong <oswb@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Abaci Team <abaci-bugfix@xxxxxxxxxxxxxxxxx>

Added to misc-next, thanks.