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

From: Yonghong Song
Date: Wed Mar 03 2021 - 07:39:38 EST




On 3/2/21 11:20 PM, Jiapeng Chong wrote:
Fix the following coccicheck warnings:

./tools/bpf/bpf_dbg.c:1201:55-57: WARNING !A || A && B is equivalent to
!A || B.

Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>