From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] ixgbe: fix unused value Date: Mon, 27 Jun 2016 17:29:35 +0100 Message-ID: <20160627162934.GD17808@bricha3-MOBL3> References: <1464883282-75631-1-git-send-email-danielx.t.mrzyglod@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: konstantin.ananyev@intel.com, helin.zhang@intel.com, dev@dpdk.org To: Daniel Mrzyglod Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 209125424 for ; Mon, 27 Jun 2016 18:29:53 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1464883282-75631-1-git-send-email-danielx.t.mrzyglod@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jun 02, 2016 at 06:01:22PM +0200, Daniel Mrzyglod wrote: > 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 > --- Fix now needs to be applied to ixgbe_rxtx_vec_common.h since the ixgbe vector rework, but since it's only a one-line change it's easy enough to fix on apply. Acked-by: Bruce Richardson