diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-04-13 19:57:56 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-04-14 21:40:06 +0200 |
commit | 89f33dcadb349eb926a92633e2c5f61466afc596 (patch) | |
tree | f72000dd6eece4b474b47754752c5ccd038b9637 /kernel/rcu | |
parent | dfa74909cb6b846cbdabfc2c3c7de1d507fca075 (diff) |
bpf: remove unneeded conversion to bool in __mark_reg_unknown
This issue was detected by using the Coccinelle software:
kernel/bpf/verifier.c:1259:16-21: WARNING: conversion to bool not needed here
The conversion to bool is unneeded, remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/1586779076-101346-1-git-send-email-zou_wei@huawei.com
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions