Skip to content
Commit 0c87b1ac authored by Jiapeng Zhong's avatar Jiapeng Zhong Committed by Steffen Klassert
Browse files

net: Simplify the calculation of variables



Fix the following coccicheck warnings:

 ./net/ipv4/esp4_offload.c:288:32-34: WARNING !A || A && B is
equivalent to !A || B.

Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 18f97696
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment