[PATCH 1/9] Remove redundant pass statements

From: Elisha Hollander
Date: Mon May 24 2021 - 13:11:04 EST


---
tools/perf/scripts/python/check-perf-trace.py | 1 -
tools/perf/scripts/python/sctop.py | 1 -
2 files changed, 2 deletions(-)

diff --git a/tools/perf/scripts/python/check-perf-trace.py b/tools/perf/scripts/python/check-perf-trace.py
index d2c22954800d..d8136eb1e08e 100644
--- a/tools/perf/scripts/python/check-perf-trace.py
+++ b/tools/perf/scripts/python/check-perf-trace.py
@@ -22,7 +22,6 @@ unhandled = autodict()

def trace_begin():
print("trace_begin")
- pass

def trace_end():
print_unhandled()
diff --git a/tools/perf/scripts/python/sctop.py b/tools/perf/scripts/python/sctop.py
index 6e0278dcb092..e290b9e276f5 100644
--- a/tools/perf/scripts/python/sctop.py
+++ b/tools/perf/scripts/python/sctop.py
@@ -47,7 +47,6 @@ syscalls = autodict()

def trace_begin():
thread.start_new_thread(print_syscall_totals, (interval,))
- pass

def raw_syscalls__sys_enter(event_name, context, common_cpu,
common_secs, common_nsecs, common_pid, common_comm,
--
2.25.1