diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2020-11-06 16:20:13 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-12-01 09:45:29 +0100 |
commit | 0ef083d51ba1f4a2e890807d49d53ad20eee0ffd (patch) | |
tree | 88d8adff40ac12dfba3488c1279c7b2182d4181f /include/net/net_namespace.h | |
parent | 988187e8810364dc02f3ceb7cab497f4a2e9003f (diff) | |
download | linux-next-0ef083d51ba1f4a2e890807d49d53ad20eee0ffd.tar.gz |
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 'include/net/net_namespace.h')
0 files changed, 0 insertions, 0 deletions