kernel_optimize_test/arch/x86/net
Jason Yan 2b6c6f0716 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 <yanaijie@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200506140352.37154-1-yanaijie@huawei.com
2020-05-07 16:29:14 +02:00
..
bpf_jit_comp.c bpf, x86: Fix encoding for lower 8-bit registers in BPF_STX BPF_B 2020-04-20 19:25:30 -07:00
bpf_jit_comp32.c bpf, i386: Remove unneeded conversion to bool 2020-05-07 16:29:14 +02:00
Makefile