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

2021-01-22 Thread Jakub Kicinski
On Fri, 22 Jan 2021 16:57:47 +0800 Jiapeng Zhong wrote: > Fix the following coccicheck warnings: > > ./net/ipv4/esp4_offload.c:288:32-34: WARNING !A || A && B is > equivalent to !A || B. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Zhong > --- > net/ipv4/esp4_offload.c | 2 +- > 1 fi

[PATCH] net: Simplify the calculation of variables

2021-01-22 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./net/ipv4/esp4_offload.c:288:32-34: WARNING !A || A && B is equivalent to !A || B. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- net/ipv4/esp4_offload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/esp4_offloa