summaryrefslogtreecommitdiff
path: root/tools/perf/tests/thread-mg-share.c
diff options
context:
space:
mode:
authorJin Yao <yao.jin@linux.intel.com>2017-05-04 17:58:14 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-06-19 21:14:57 +0300
commitc564f0db92b7f8d734ce530e42a540e12ae3d583 (patch)
tree30e8c20d5845812d7f763e0d5d21e2c550c7aae9 /tools/perf/tests/thread-mg-share.c
parent8052bd8243e823a0954bcbafda8f91072598f13d (diff)
downloadlinux-c564f0db92b7f8d734ce530e42a540e12ae3d583.tar.xz
perf report: Remove unnecessary check in annotate_browser_write()
In annotate_browser_write(), if (dl->offset != -1 && percent_max != 0.0) { if (percent_max != 0.0) { ... } ... } The second check of (percent_max != 0.0) is not necessary, remove it. Signed-off-by: Yao Jin <yao.jin@linux.intel.com> Acked-by: Milian Wolff <milian.wolff@kdab.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Yao Jin <yao.jin@linux.intel.com> Link: http://lkml.kernel.org/r/1493909895-9668-2-git-send-email-yao.jin@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/thread-mg-share.c')
0 files changed, 0 insertions, 0 deletions