From nobody Mon May 20 14:32:33 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1664378881016765.9959963697119; Wed, 28 Sep 2022 08:28:01 -0700 (PDT) Received: from localhost ([::1]:45468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odYyd-0004We-Ck for importer@patchew.org; Wed, 28 Sep 2022 11:27:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odS5U-0002p3-Fr for qemu-devel@nongnu.org; Wed, 28 Sep 2022 04:06:37 -0400 Received: from cmccmta3.chinamobile.com ([221.176.66.81]:4368) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odS5P-000766-Ic for qemu-devel@nongnu.org; Wed, 28 Sep 2022 04:06:35 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.3]) by rmmx-syy-dmz-app10-12010 (RichMail) with SMTP id 2eea6334007c02b-16d82; Wed, 28 Sep 2022 16:06:20 +0800 (CST) Received: from localhost.localdomain (unknown[223.108.79.103]) by rmsmtp-syy-appsvr02-12002 (RichMail) with SMTP id 2ee2633400790a6-c2973; Wed, 28 Sep 2022 16:06:20 +0800 (CST) X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 X-RM-TRANSID: 2eea6334007c02b-16d82 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 X-RM-TRANSID: 2ee2633400790a6-c2973 From: dinglimin To: qemu-devel@nongnu.org Cc: thuth@redhat.com, "dinglimin@cmss.chinamobile.com" Subject: [PATCH] tests/migration: remove the unused local variable Date: Wed, 28 Sep 2022 16:05:55 +0800 Message-Id: <20220928080555.2263-1-dinglimin@cmss.chinamobile.com> X-Mailer: git-send-email 2.30.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=221.176.66.81; envelope-from=dinglimin@cmss.chinamobile.com; helo=cmccmta3.chinamobile.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 28 Sep 2022 09:54:58 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZM-MESSAGEID: 1664378883423100001 Content-Type: text/plain; charset="utf-8" From: "dinglimin@cmss.chinamobile.com" Remove the unused local variable "records". Signed-off-by: dinglimin Reviewed-by: J=C3=A1n Tomko --- tests/migration/guestperf/engine.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/migration/guestperf/engine.py b/tests/migration/guestper= f/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 =20 def _cpu_timing(self, pid): - records =3D [] now =3D time.time() =20 jiffies_per_sec =3D os.sysconf(os.sysconf_names['SC_CLK_TCK']) --=20 2.30.0.windows.2