aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tcp_rtt.c
diff options
context:
space:
mode:
authorJason Yan <[email protected]>2020-05-06 14:03:52 +0000
committerDaniel Borkmann <[email protected]>2020-05-07 14:29:14 +0000
commit2b6c6f0716322fc51332e8fa1c40e2d68f289bec (patch)
tree576b2f65ac73f8f54831145d5fd9f4d17bc6e24d /tools/testing/selftests/bpf/prog_tests/tcp_rtt.c
parentMerge tag 'perf-for-bpf-2020-05-06' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadkernel-2b6c6f0716322fc51332e8fa1c40e2d68f289bec.tar.gz
kernel-2b6c6f0716322fc51332e8fa1c40e2d68f289bec.zip
bpf, i386: Remove unneeded conversion to bool
The '==' expression itself is bool, no need to convert it to bool again. This fixes the following coccicheck warning: arch/x86/net/bpf_jit_comp32.c:1478:50-55: WARNING: conversion to bool not needed here arch/x86/net/bpf_jit_comp32.c:1479:50-55: WARNING: conversion to bool not needed here Signed-off-by: Jason Yan <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_rtt.c')
0 files changed, 0 insertions, 0 deletions