summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Chautru <nicolas.chautru@intel.com>2019-08-06 07:08:59 -0700
committerThomas Monjalon <thomas@monjalon.net>2019-08-06 23:33:14 +0200
commit4e8cd9041e408014bc799474fca1cce637ff340f (patch)
treee9a39ac2155d021083c9a7ac128c33a4d653a5a0
parent0e3d0525b2f2158f5477de16540da298cf3ca147 (diff)
downloaddpdk-4e8cd9041e408014bc799474fca1cce637ff340f.zip
dpdk-4e8cd9041e408014bc799474fca1cce637ff340f.tar.gz
dpdk-4e8cd9041e408014bc799474fca1cce637ff340f.tar.xz
baseband/turbo_sw: remove dead code
Error handling code cannot logically be reached. Coverity issue: 344980, 344992 Fixes: c769c711757a ("baseband/turbo_sw: extend for 5G") Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
-rw-r--r--drivers/baseband/turbo_sw/bbdev_turbo_software.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/baseband/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
index acb63a4..f2fe7a2 100644
--- a/drivers/baseband/turbo_sw/bbdev_turbo_software.c
+++ b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
@@ -1610,12 +1610,6 @@ enqueue_dec_one_op(struct turbo_sw_queue *q, struct rte_bbdev_dec_op *op,
}
r++;
}
-
- if (mbuf_total_left != 0) {
- op->status |= 1 << RTE_BBDEV_DATA_ERROR;
- rte_bbdev_log(ERR,
- "Mismatch between mbuf length and included Circular buffer sizes");
- }
}
static inline void
@@ -1706,12 +1700,6 @@ enqueue_ldpc_dec_one_op(struct turbo_sw_queue *q, struct rte_bbdev_dec_op *op,
}
r++;
}
-
- if (mbuf_total_left != 0) {
- op->status |= 1 << RTE_BBDEV_DATA_ERROR;
- rte_bbdev_log(ERR,
- "Mismatch between mbuf length and included Circular buffer sizes");
- }
}
static inline uint16_t