]> Git Repo - linux.git/commit
perf tools: Simplify the calculation of variables
authorJiapeng Chong <[email protected]>
Fri, 5 Feb 2021 03:54:15 +0000 (11:54 +0800)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 18 Feb 2021 13:13:37 +0000 (10:13 -0300)
commit52bcc6031c0b459baa1f2cacd1fd4adc78ae0127
treedd9161527855ae51bc7fe5263c83a75c42b63a75
parent37b9c7bbe1ee1937a317f7fafacd1d116202b2d8
perf tools: Simplify the calculation of variables

Fix the following coccicheck warnings:

./tools/perf/util/header.c:3809:18-20: WARNING !A || A && B is
equivalent to !A || B.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andrii Nakryiko <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: John Fastabend <[email protected]>
Cc: KP Singh <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Cc: Yonghong Song <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lore.kernel.org/lkml/1612497255-87189-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/header.c
This page took 0.054654 seconds and 4 git commands to generate.