diff options
author | Jason Yan <[email protected]> | 2020-05-06 22:03:52 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-05-07 16:29:14 +0200 |
commit | 2b6c6f0716322fc51332e8fa1c40e2d68f289bec (patch) | |
tree | 576b2f65ac73f8f54831145d5fd9f4d17bc6e24d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f87b87a1c969f767b9938d435f0211d293e323db (diff) |
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/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions