]> git.baikalelectronics.ru Git - kernel.git/commit
esp: Simplify the calculation of variables
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 3 Feb 2021 02:44:30 +0000 (10:44 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 4 Feb 2021 08:29:26 +0000 (09:29 +0100)
commit9cb74c2baed06fd01a749d69e382900f0fb7b843
tree9b64093b6ffe4bcbac79e89596c7c71fbbc91c39
parentb1cc3586de7bfa8f7d592ad1a3dd79f694eecab4
esp: Simplify the calculation of variables

Fix the following coccicheck warnings:

./net/ipv6/esp6.c:791:16-18: WARNING !A || A && B is equivalent
to !A || B.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv6/esp6.c