diff options
author | 2020-11-06 16:20:13 +0800 | |
---|---|---|
committer | 2020-12-01 09:45:29 +0100 | |
commit | 0ef083d51ba1f4a2e890807d49d53ad20eee0ffd (patch) | |
tree | 88d8adff40ac12dfba3488c1279c7b2182d4181f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ipvs: replace atomic_add_return() (diff) | |
download | wireguard-linux-0ef083d51ba1f4a2e890807d49d53ad20eee0ffd.tar.xz wireguard-linux-0ef083d51ba1f4a2e890807d49d53ad20eee0ffd.zip |
netfilter: Remove unnecessary conversion to bool
Here we could use the '!=' expression to fix the following coccicheck
warning:
./net/netfilter/xt_nfacct.c:30:41-46: WARNING: conversion to bool not needed here
Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions