* [PATCH] tests/migration: remove the unused local variable
@ 2022-09-28 8:05 dinglimin
2022-09-30 7:53 ` Ján Tomko
0 siblings, 1 reply; 2+ messages in thread
From: dinglimin @ 2022-09-28 8:05 UTC (permalink / raw)
To: qemu-devel; +Cc: thuth, dinglimin@cmss.chinamobile.com
From: "dinglimin@cmss.chinamobile.com" <dinglimin@cmss.chinamobile.com>
Remove the unused local variable "records".
Signed-off-by: dinglimin <dinglimin@cmss.chinamobile.com>
---
tests/migration/guestperf/engine.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/migration/guestperf/engine.py b/tests/migration/guestperf/engine.py
index 87a6ab2009..59fca2c70b 100644
--- a/tests/migration/guestperf/engine.py
+++ b/tests/migration/guestperf/engine.py
@@ -65,7 +65,6 @@ def _vcpu_timing(self, pid, tid_list):
return records
def _cpu_timing(self, pid):
- records = []
now = time.time()
jiffies_per_sec = os.sysconf(os.sysconf_names['SC_CLK_TCK'])
--
2.30.0.windows.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-30 7:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-28 8:05 [PATCH] tests/migration: remove the unused local variable dinglimin
2022-09-30 7:53 ` Ján Tomko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.