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 0C20BA04A2; Tue, 12 May 2020 07:52:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A39131C014; Tue, 12 May 2020 07:52:52 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 76C6C1C014 for ; Tue, 12 May 2020 07:52:51 +0200 (CEST) IronPort-SDR: +faJmGZaPX4cDL1366sDkYYVNs5XaX/DQjEJySSOT80zBBJjR5GuRSZZNERk6+52zKGzEF2LRG 62kdaxdBfZ3Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2020 22:52:50 -0700 IronPort-SDR: unpjlIGDmGv+HQtRopRgkkvKqjikvoLqDbL3kkRPe5iJfpcRnC14QK3LVqIZMYwaQrk5ghOfTZ 3KJS63TFFhKw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,382,1583222400"; d="scan'208";a="280008962" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.116.183]) by orsmga002.jf.intel.com with ESMTP; 11 May 2020 22:52:47 -0700 Date: Tue, 12 May 2020 13:44:37 +0800 From: Ye Xiaolong To: Leyi Rong Cc: dev@dpdk.org Message-ID: <20200512054437.GQ75514@intel.com> References: <20200511083655.92942-1-leyi.rong@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200511083655.92942-1-leyi.rong@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH] net/iavf: delete unused value 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" On 05/11, Leyi Rong wrote: >Fix coverity defects of unused value. > >Coverity issue: 357745, 357769 > >Fixes: b8b4c54ef9b0 ("net/iavf: support flexible Rx descriptor in normal path") > >Signed-off-by: Leyi Rong >--- > drivers/net/iavf/iavf_rxtx.c | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c >index 2cf70d929..05a7dd898 100644 >--- a/drivers/net/iavf/iavf_rxtx.c >+++ b/drivers/net/iavf/iavf_rxtx.c >@@ -958,7 +958,6 @@ iavf_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts) > rte_prefetch0(rxq->sw_ring[rx_id]); > } > rxm = rxe; >- rxe = nmb; > dma_addr = > rte_cpu_to_le_64(rte_mbuf_data_iova_default(nmb)); > rxdp->read.hdr_addr = 0; >@@ -1064,7 +1063,6 @@ iavf_recv_pkts_flex_rxd(void *rx_queue, > rte_prefetch0(rxq->sw_ring[rx_id]); > } > rxm = rxe; >- rxe = nmb; > dma_addr = > rte_cpu_to_le_64(rte_mbuf_data_iova_default(nmb)); > rxdp->read.hdr_addr = 0; >@@ -1157,7 +1155,6 @@ iavf_recv_scattered_pkts_flex_rxd(void *rx_queue, struct rte_mbuf **rx_pkts, > } > > rxm = rxe; >- rxe = nmb; > dma_addr = > rte_cpu_to_le_64(rte_mbuf_data_iova_default(nmb)); > >@@ -1311,7 +1308,6 @@ iavf_recv_scattered_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, > } > > rxm = rxe; >- rxe = nmb; > dma_addr = > rte_cpu_to_le_64(rte_mbuf_data_iova_default(nmb)); > >-- >2.17.1 > Acked-by: Xiaolong Ye Applied to dpdk-next-net-intel, Thanks.