From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A20C3A00E6 for ; Tue, 6 Aug 2019 22:31:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D5ED71B464; Tue, 6 Aug 2019 22:31:42 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id C12E71B203 for ; Tue, 6 Aug 2019 22:31:40 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 13:31:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="175984254" Received: from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210]) by fmsmga007.fm.intel.com with ESMTP; 06 Aug 2019 13:31:37 -0700 From: Nicolas Chautru To: dev@dpdk.org, akhil.goyal@nxp.com Cc: ferruh.yigit@intel.com, thomas@monjalon.net, john.mcnamara@intel.com, Nicolas Chautru Date: Tue, 6 Aug 2019 06:27:47 -0700 Message-Id: <1565098068-58804-2-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1565098068-58804-1-git-send-email-nicolas.chautru@intel.com> References: <1565098068-58804-1-git-send-email-nicolas.chautru@intel.com> Subject: [dpdk-dev] [PATCH 1/2] baseband/turbo_sw: remove logically dead code X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Coverity issue : 344980, 344992 Signed-off-by: Nicolas Chautru --- drivers/baseband/turbo_sw/bbdev_turbo_software.c | 12 ------------ 1 file changed, 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 @@ struct turbo_sw_queue { } 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 @@ struct turbo_sw_queue { } 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 -- 1.8.3.1