perf-tool: Remove dead code