diff options
| author | 2020-04-20 20:35:28 +0800 | |
|---|---|---|
| committer | 2020-06-22 16:28:08 -0300 | |
| commit | a1f8bc95c33e953e080f72be4b95176dacb423b0 (patch) | |
| tree | 7c1e259ae7e87f8052fa3b65b0c859c93a1e229e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | perf flamegraph: Explicitly set utf-8 encoding (diff) | |
| download | linux-dev-a1f8bc95c33e953e080f72be4b95176dacb423b0.tar.xz linux-dev-a1f8bc95c33e953e080f72be4b95176dacb423b0.zip | |
perf annotate: Remove unneeded conversion to bool
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
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20200420123528.11655-1-yanaijie@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
