]> Git Repo - qemu.git/commitdiff
tests/migration: remove the unused local variable
authordinglimin <[email protected]>
Wed, 28 Sep 2022 08:05:55 +0000 (16:05 +0800)
committerThomas Huth <[email protected]>
Tue, 11 Oct 2022 10:37:12 +0000 (12:37 +0200)
Remove the unused local variable "records".

Signed-off-by: dinglimin <[email protected]>
Reviewed-by: Ján Tomko <[email protected]>
Message-Id: <20220928080555[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
tests/migration/guestperf/engine.py

index 87a6ab200908f6d0d4e581bd75b134e3f466e017..59fca2c70b1e7c81b84c79b38be11bec8769f916 100644 (file)
@@ -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'])
This page took 0.025944 seconds and 4 git commands to generate.