lkml.org 
[lkml]   [2020]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] netfilter: Remove unnecessary conversion to bool
On Fri, Nov 06, 2020 at 04:20:13PM +0800, xiakaixu1987@gmail.com wrote:
> From: Kaixu Xia <kaixuxia@tencent.com>
>
> 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.

\
 
 \ /
  Last update: 2020-12-01 09:52    [W:0.067 / U:25.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site