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

2021-04-14 Thread Steffen Klassert
On Tue, Apr 13, 2021 at 05:57:15PM +0800, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./net/ipv6/esp6_offload.c:321:32-34: WARNING !A || A && B is equivalent > to !A || B. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > net/ipv6/esp6_offload.c | 2 +- >

[PATCH] esp6: Simplify the calculation of variables

2021-04-13 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./net/ipv6/esp6_offload.c:321:32-34: WARNING !A || A && B is equivalent to !A || B. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- net/ipv6/esp6_offload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/esp6_offload