diff --git a/contrib/perf.py b/contrib/perf.py
index a2ad5aeedfdf5099b873e09bdfe4bd72c483b629_Y29udHJpYi9wZXJmLnB5..2bbb2f556ecfa37bfa668f03d3352f418c8e7080_Y29udHJpYi9wZXJmLnB5 100644
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -1878,7 +1878,6 @@
 
 
 def _displaystats(ui, opts, entries, data):
-    pass
     # use a second formatter because the data are quite different, not sure
     # how it flies with the templater.
     fm = ui.formatter(b'perf-stats', opts)