Re: [PATCH -next] perf script: remove unneeded conversion to bool
From: Arnaldo Carvalho de Melo
Date: Tue Apr 28 2020 - 13:50:51 EST
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,
- Arnaldo