aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordinglimin <dinglimin@cmss.chinamobile.com>2022-09-28 16:05:55 +0800
committerThomas Huth <thuth@redhat.com>2022-10-11 12:37:12 +0200
commit770beadb984d630a89b5a7327925a4cfba4488d5 (patch)
tree8fd5ab02eeef08e01f378393b286f5e370c03867
parentf15cfe419eebc49d28949f4fa75259e530136eab (diff)
downloadqemu-770beadb984d630a89b5a7327925a4cfba4488d5.zip
qemu-770beadb984d630a89b5a7327925a4cfba4488d5.tar.gz
qemu-770beadb984d630a89b5a7327925a4cfba4488d5.tar.bz2
tests/migration: remove the unused local variable
Remove the unused local variable "records". Signed-off-by: dinglimin <dinglimin@cmss.chinamobile.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Message-Id: <20220928080555.2263-1-dinglimin@cmss.chinamobile.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--tests/migration/guestperf/engine.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/migration/guestperf/engine.py b/tests/migration/guestperf/engine.py
index 87a6ab2..59fca2c 100644
--- a/tests/migration/guestperf/engine.py
+++ b/tests/migration/guestperf/engine.py
@@ -65,7 +65,6 @@ class Engine(object):
return records
def _cpu_timing(self, pid):
- records = []
now = time.time()
jiffies_per_sec = os.sysconf(os.sysconf_names['SC_CLK_TCK'])