diff --git a/tools/gprof2dot.py b/tools/gprof2dot.py index 303495afd..64950124b 100755 --- a/tools/gprof2dot.py +++ b/tools/gprof2dot.py @@ -1715,16 +1715,6 @@ class CallgrindParser(LineParser): return None key, value = pair return value - line = self.lookahead() - mo = self._key_re.match(line) - if not mo: - return None - key, value = line.split(':', 1) - if key not in keys: - return None - value = value.strip() - self.consume() - return key, value def parse_keys(self, keys): line = self.lookahead()