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

From: Josef Bacik
Date: Wed Jan 27 2021 - 10:33:24 EST


On 1/27/21 3:11 AM, 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>

Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Thanks,

Josef