# HG changeset patch # User Alex Gaynor # Date 2017-12-14 20:18:15 # Node ID c8e8e14a5ee9863e5b75ec47e270da296ee0a6a5 # Parent b1959391a088b95da5998405a85b3ece8c89b6aa statprof: remove a line of deadcode Differential Revision: https://phab.mercurial-scm.org/D1689 diff --git a/mercurial/statprof.py b/mercurial/statprof.py --- a/mercurial/statprof.py +++ b/mercurial/statprof.py @@ -815,7 +815,6 @@ def write_to_chrome(data, fp, minthresho tos = sample.stack[0] name = tos.function path = simplifypath(tos.path) - category = '%s:%d' % (path, tos.lineno) stack = tuple((('%s:%d' % (simplifypath(frame.path), frame.lineno), frame.function) for frame in sample.stack)) qstack = collections.deque(stack)