Re: [PATCH] netfilter: Remove unnecessary conversion to bool

2020-12-01 Thread Pablo Neira Ayuso
On Fri, Nov 06, 2020 at 04:20:13PM +0800, xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > 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 Applied.

[PATCH] netfilter: Remove unnecessary conversion to bool

2020-11-06 Thread xiakaixu1987
From: Kaixu Xia 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 Signed-off-by: Kaixu Xia --- net/netfilter/xt_nfacct.c | 2 +- 1 file changed, 1 insertion