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

2021-01-28 Thread David Sterba
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 > Suggested-by: Jiapeng Zhong > Signed-off-by: Abaci Team Added to misc

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

2021-01-27 Thread Josef Bacik
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 Suggested-by: Jiapeng Zhong Signed-off-by: Abaci Team Reviewed-by: Josef Bacik Thanks, Josef