From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id F35475686 for ; Thu, 2 Jun 2016 17:02:32 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 02 Jun 2016 08:01:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,406,1459839600"; d="scan'208";a="989704632" Received: from gklab-246-025.igk.intel.com (HELO Sent) ([10.217.246.25]) by orsmga002.jf.intel.com with SMTP; 02 Jun 2016 08:01:41 -0700 Received: by Sent (sSMTP sendmail emulation); Thu, 02 Jun 2016 18:02:14 +0200 From: Daniel Mrzyglod To: konstantin.ananyev@intel.com, bruce.richardson@intel.com, helin.zhang@intel.com Cc: dev@dpdk.org, Daniel Mrzyglod Date: Thu, 2 Jun 2016 18:01:22 +0200 Message-Id: <1464883282-75631-1-git-send-email-danielx.t.mrzyglod@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH] ixgbe: fix unused value X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 15:02:33 -0000 An assigned value that is never used may represent unnecessary computation, an incorrect algorithm, or possibly the need for cleanup or refactoring. In reassemble_packets: A value assigned to a variable is never used. Fixes: cf4b4708a88a ("ixgbe: improve slow-path perf with vector scattered Rx") Coverity ID 13335 Signed-off-by: Daniel Mrzyglod --- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec.c b/drivers/net/ixgbe/ixgbe_rxtx_vec.c index e97ea82..61c7aad 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx_vec.c +++ b/drivers/net/ixgbe/ixgbe_rxtx_vec.c @@ -458,7 +458,6 @@ reassemble_packets(struct ixgbe_rx_queue *rxq, struct rte_mbuf **rx_bufs, end->data_len); secondlast->next = NULL; rte_pktmbuf_free_seg(end); - end = secondlast; } pkts[pkt_idx++] = start; start = end = NULL; -- 2.5.5