test/crypto: remove unused stats in test setup
PATCH 1/1 test/crypto: remove unused stats in test setup
Remove unused stats in test setup.
Coverity issue: 373869
Fixes 2c6dab9cd93 ("test/crypto: add RSA and Mod tests")
Signed-off-by Gowrishankar Muthukrishnan <[email protected]>
--- app/test/test_cryptodev_asym.c | 5 ----- 1 file changed, 5 deletions(-)
app/test/test_cryptodev_asym.c +0 -5
@@ -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 voidut_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 ]); }
Signature · 1 line
2.21.0
Quoted 9 lines
Subject: [PATCH v1] test/crypto: remove unused stats in test setup
Remove unused stats in test setup.
Coverity issue: 373869
Fixes 2c6dab9cd93 ("test/crypto: add RSA and Mod tests")Signed-off-by Gowrishankar Muthukrishnan <[email protected]>
Acked-by Anoob Joseph <[email protected]>
Akhil Goyal
AppliedQuoted 9 lines
Subject: [PATCH v1] test/crypto: remove unused stats in test setup
Remove unused stats in test setup.
Coverity issue: 373869
Fixes 2c6dab9cd93 ("test/crypto: add RSA and Mod tests")Signed-off-by Gowrishankar Muthukrishnan <[email protected]>
Applied to dpdk-next-crypto
Thanks.