From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 504CE45625; Mon, 15 Jul 2024 15:36:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C65C4067D; Mon, 15 Jul 2024 15:36:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 9A31A4027E; Mon, 15 Jul 2024 15:36:46 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46F9pUoq012461; Mon, 15 Jul 2024 06:36:45 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=pfpt0220; bh=YqscaIRxh7sXh4XmnlrJnP0 CEPPqp6VywJKG55z5Wvw=; b=JqwxFwKMgRLuZXjJNKbgsG6LSrnMT01prSXYxAv iqMxSfGY7eYewaHpz/tnTktRaEFneS+0ZJi5upKJ6hXre0lyBPyccH1kmXEcCd47 EQtkpshtRHPxzYwP3csottNaPyuIO8v9v0HqUcoqukBasCuQB02H17VtK2joEpQ9 DBlBr8fwchH4/0A81ncwkTPSrnyHwIlZo+IKRkcrbE69YnRpdY2E+U9vdabbBPeA s/YYdmjFEWqBy0uH725puqt4wVYLKWsXcJqU4aEmoWNnLe/f42Hk/vyUSBKoHGi7 U4TSZS1r4Rav0/9nuA7pHgbKlwQiItRz9QNI664ZXzAESBg== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 40c9p5uc39-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Jul 2024 06:36:45 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 15 Jul 2024 06:36:44 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 15 Jul 2024 06:36:44 -0700 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34]) by maili.marvell.com (Postfix) with ESMTP id 702733F704E; Mon, 15 Jul 2024 06:36:39 -0700 (PDT) From: Gowrishankar Muthukrishnan To: , Akhil Goyal , Fan Zhang , Ashish Gupta <"ashishg@marvell.comashish.gupta"@marvell.com>, Sunila Sahu , Pablo de Lara , "Umesh Kartha" , Shally Verma CC: Anoob Joseph , Gowrishankar Muthukrishnan , Subject: [PATCH v1] test/crypto: remove unused stats in test setup Date: Mon, 15 Jul 2024 19:06:10 +0530 Message-ID: <20240715133613.1459-1-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: keF8N47lPP3tjX8yr-YNnbNmNzlbqwe3 X-Proofpoint-ORIG-GUID: keF8N47lPP3tjX8yr-YNnbNmNzlbqwe3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-15_08,2024-07-11_01,2024-05-17_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Remove unused stats in test setup. Coverity issue: 373869 Fixes: 2c6dab9cd93 ("test/crypto: add RSA and Mod tests") Cc: stable@dpdk.org Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_cryptodev_asym.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c index ef926c6229..3802cf8022 100644 --- a/app/test/test_cryptodev_asym.c +++ b/app/test/test_cryptodev_asym.c @@ -547,8 +547,6 @@ ut_setup_asym(void) qp_id, ts_params->valid_devs[0]); } - rte_cryptodev_stats_reset(ts_params->valid_devs[0]); - /* Start the device */ TEST_ASSERT_SUCCESS(rte_cryptodev_start(ts_params->valid_devs[0]), "Failed to start cryptodev %u", @@ -561,7 +559,6 @@ static void ut_teardown_asym(void) { struct crypto_testsuite_params_asym *ts_params = &testsuite_params; - struct rte_cryptodev_stats stats; uint8_t dev_id = ts_params->valid_devs[0]; if (self->sess != NULL) @@ -571,8 +568,6 @@ ut_teardown_asym(void) self->op = NULL; self->result_op = NULL; - rte_cryptodev_stats_get(ts_params->valid_devs[0], &stats); - /* Stop the device */ rte_cryptodev_stop(ts_params->valid_devs[0]); } -- 2.21.0