Skip to content
Commit 4c4ac831 authored by kernel test robot's avatar kernel test robot Committed by Jakub Kicinski
Browse files

forcedeth: fix excluded_middle.cocci warnings



Condition !A || A && B is equivalent to !A || B.

Generated by: scripts/coccinelle/misc/excluded_middle.cocci

Fixes: b76f0ea0 ("coccinelle: misc: add excluded_middle.cocci script")
CC: Denis Efremov <efremov@linux.com>
Signed-off-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarJulia Lawall <julia.lawall@inria.fr>
Link: https://lore.kernel.org/r/alpine.DEB.2.22.394.2011020936100.3077@hadrien


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 74d155be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment