From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 67ACA2BAE for ; Mon, 30 Jan 2017 13:44:50 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 30 Jan 2017 04:44:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,311,1477983600"; d="scan'208";a="814986253" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by FMSMGA003.fm.intel.com with ESMTP; 30 Jan 2017 04:44:49 -0800 Date: Mon, 30 Jan 2017 20:47:13 +0800 From: Yuanhan Liu To: Emmanuel Roullit Cc: huawei.xie@intel.com, dev@dpdk.org Message-ID: <20170130124713.GG20916@yliu-dev.sh.intel.com> References: <20170124203129.2850-1-emmanuel.roullit@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170124203129.2850-1-emmanuel.roullit@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] vhost: remove unneeded variable assignment 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: , X-List-Received-Date: Mon, 30 Jan 2017 12:44:51 -0000 On Tue, Jan 24, 2017 at 09:31:29PM +0100, Emmanuel Roullit wrote: > Found with clang static analysis: > lib/librte_vhost/vhost_user.c:996:3: warning: > Value stored to 'ret' is never read > ret = vhost_user_get_vring_base(dev, &msg.payload.state); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: 73c8f9f69c6c ("vhost: introduce reply ack feature") Again, you were referencing the bad commit. For this case, I'd like to remove such fixline, as this patch doesn't really "fix" anything. But since you made it, I could apply it. So applied to dpdk-next-virtio. --yliu