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

From: Arnaldo Melo
Date: Tue Apr 28 2020 - 19:09:10 EST




On April 28, 2020 6:58:46 PM GMT-03:00, Joe Perches <joe@xxxxxxxxxxx> wrote:
>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.

Of course I read it, but yeah, I made a mistake, thanks for pointing out, I'll remove it, thanks.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.