From f47b549f416696762b800de21ac2ddaa73445483 Mon Sep 17 00:00:00 2001 From: Thomas Schlichter Date: Fri, 2 May 2025 09:57:44 +0000 Subject: [PATCH] nrLDPC_coding_t2: remove unused rte_bbdev_dec_op from test_op_params and thread_params --- .../nrLDPC_coding_t2/nrLDPC_coding_t2.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/openair1/PHY/CODING/nrLDPC_coding/nrLDPC_coding_t2/nrLDPC_coding_t2.c b/openair1/PHY/CODING/nrLDPC_coding/nrLDPC_coding_t2/nrLDPC_coding_t2.c index 644eb38d62..a215adb210 100644 --- a/openair1/PHY/CODING/nrLDPC_coding/nrLDPC_coding_t2/nrLDPC_coding_t2.c +++ b/openair1/PHY/CODING/nrLDPC_coding/nrLDPC_coding_t2/nrLDPC_coding_t2.c @@ -87,8 +87,6 @@ struct data_buffers { /* Operation parameters specific for given test case */ struct test_op_params { - struct rte_bbdev_dec_op *ref_dec_op; - struct rte_bbdev_enc_op *ref_enc_op; uint16_t burst_sz; uint16_t num_to_process; uint16_t num_lcores; @@ -108,8 +106,6 @@ struct thread_params { rte_atomic16_t processing_status; rte_atomic16_t burst_sz; struct test_op_params *op_params; - struct rte_bbdev_dec_op *dec_ops[MAX_BURST]; - struct rte_bbdev_enc_op *enc_ops[MAX_BURST]; struct data_buffers *data_buffers; struct rte_mempool *bbdev_op_pool; }; @@ -671,15 +667,6 @@ static int init_test_op_params(struct test_op_params *op_params, uint16_t num_to_process, uint16_t num_lcores) { - int ret = 0; - if (op_type == RTE_BBDEV_OP_LDPC_DEC) { - ret = rte_bbdev_dec_op_alloc_bulk(ops_mp, &op_params->ref_dec_op, num_to_process); - } else { - ret = rte_bbdev_enc_op_alloc_bulk(ops_mp, &op_params->ref_enc_op, 1); - } - - AssertFatal(ret == 0, "rte_bbdev_op_alloc_bulk() failed"); - op_params->burst_sz = burst_sz; op_params->num_to_process = num_to_process; op_params->num_lcores = num_lcores;