From b29a2616b0a2c88ca9628c6890fa5ea59dcb13c2 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Wed, 25 Jul 2018 16:29:18 -0500 Subject: [PATCH] cleanup Change-Id: Ia132b381230bf7ddae4d951911be177a928143df [ROCm/rocprofiler commit: a6480a825faa077eb1d7d0bb535e45d3a3b0e0f2] --- projects/rocprofiler/test/tool/tool.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/rocprofiler/test/tool/tool.cpp b/projects/rocprofiler/test/tool/tool.cpp index c142526a3c..2d0921cf58 100644 --- a/projects/rocprofiler/test/tool/tool.cpp +++ b/projects/rocprofiler/test/tool/tool.cpp @@ -173,10 +173,8 @@ std::string filtr_kernel_name(const std::string name) { } ++rit; } -// while (((*rit == ' ') || (*rit == ' ')) && (rit != rend)) rit++; while (rit != rend) if ((*rit == ' ') || (*rit == ' ')) rit++; else break; auto rbeg = rit; -// while ((*rit != ' ') && (*rit != ':') && (rit != rend)) rit++; while (rit != rend) if ((*rit != ' ') && (*rit != ':')) rit++; else break; const uint32_t pos = rend - rit; const uint32_t length = rit - rbeg;