Re: [PATCH] perf annotate: Remove unneeded conversion to bool
From: Arnaldo Carvalho de Melo
Date: Mon Apr 20 2020 - 09:34:01 EST
Em Mon, Apr 20, 2020 at 08:35:28PM +0800, Jason Yan escreveu:
> The '>' expression itself is bool, no need to convert it to bool again.
> This fixes the following coccicheck warning:
>
> tools/perf/ui/browsers/annotate.c:212:30-35: WARNING: conversion to bool
> not needed here
Thanks, applied.
- Arnaldo