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>
This commit is contained in:
parent
f15cfe419e
commit
770beadb98
@ -65,7 +65,6 @@ class Engine(object):
|
|||||||
return records
|
return records
|
||||||
|
|
||||||
def _cpu_timing(self, pid):
|
def _cpu_timing(self, pid):
|
||||||
records = []
|
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|
||||||
jiffies_per_sec = os.sysconf(os.sysconf_names['SC_CLK_TCK'])
|
jiffies_per_sec = os.sysconf(os.sysconf_names['SC_CLK_TCK'])
|
||||||
|
Loading…
Reference in New Issue
Block a user