Re: [PATCH -next] perf script: remove unneeded conversion to bool

From: Joe Perches
Date: Tue Apr 28 2020 - 17:58:51 EST


On Tue, 2020-04-28 at 14:50 -0300, Arnaldo Carvalho de Melo wrote:
> Em Sun, Apr 26, 2020 at 08:31:05PM +0800, Zou Wei escreveu:
> > This issue was detected by using the Coccinelle software:
> >
> > tools/perf/builtin-script.c:3285:48-53: WARNING: conversion to bool not needed here
> > tools/perf/builtin-script.c:2839:36-41: WARNING: conversion to bool not needed here
> >
> > The conversion to bool is unneeded, remove it
>
> Thanks, applied,

Did you read the patch?
It's broken, unless some other patch was applied.