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

2021-02-01 Thread Joseph Qi
On 2/2/21 11:10 AM, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./fs/ocfs2/refcounttree.c:981:16-18: WARNING !A || A && B is equivalent > to !A || B. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Reviewed-by: Joseph Qi > --- > fs/ocfs2/refcounttree.c |

[PATCH] ocfs2: Simplify the calculation of variables

2021-02-01 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./fs/ocfs2/refcounttree.c:981:16-18: WARNING !A || A && B is equivalent to !A || B. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- fs/ocfs2/refcounttree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ocfs2/refcounttree