From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f182.google.com (mail-wj0-f182.google.com [209.85.210.182]) by dpdk.org (Postfix) with ESMTP id 25A3337B8 for ; Tue, 6 Dec 2016 15:13:28 +0100 (CET) Received: by mail-wj0-f182.google.com with SMTP id xy5so322632418wjc.0 for ; Tue, 06 Dec 2016 06:13:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=fHDSPMNkFi6ezs1jwHLCAcyThElZhZCAm9wP719lbnI=; b=qCXQ04RBsjBsa38uqr+6JMaqsQTK7vO+Do9GqWfNzFuqwJQExFwJcU8WLPcWpGFmgI ecqjsms8/RHk82GyUl4xrAwsy4o4iREDCN8VcgPh2ysqALXCCFJTm/bpECoccWYcyFAO iduUn+yEhNbe6FdkzKH5hZe8G+P4KRsFwv4ol0HavjjLJNuwjzq8qB0lxc8mRkJS6L7b qOp2WEoLSI5w5IUG7U5KAzpIt0cAtr/S+0NSUQfOMycttfb3yLSc182uZ3ezV97EmuYf EUh9jMZTq+ECGT+0+uTMIqkl97Pr425lqW4/DJMc1f7WOsLMdsvek++ayxceJY0RJMU2 B0oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=fHDSPMNkFi6ezs1jwHLCAcyThElZhZCAm9wP719lbnI=; b=hs4+Nuo9y92mIApayA4X4pwCmpZPA7XQsmuIlA20U1j03S+GN2qHtL8uH0iirzMv1W DRxbcsJp7exoEmxKyIS+ZejAiqfhmvkyxxitMmDRDPOWl4vFliZZFbnLh9h/eYWeWses QIvWRaemdxfYB6eBIlHWbTUMWuCLGJFLAz4DxtYeFBS7NnjOYEbb2szjIVZ+pTh3OjnV rHKwfA1ZpnWa4Rc1F/2Vy7Oq5tDeKGPmhiyfV6et4AiJPQaJwq4qp2i5nGZPE0gP/GqK pv+AEkczyrTpqfl5nY9/5zq5ACDb0KEOOmzP5NI9ZKEGHlyqs0yVXpizaSZeGnyBfMXz cQQg== X-Gm-Message-State: AKaTC01pTd18GC7zeXUTzp3WMJc5fRzKtv3UVBe86/p9P7T7Re2Mxw7vaUDoFJhJDWdJRZ3J X-Received: by 10.194.75.227 with SMTP id f3mr51793421wjw.19.1481033608576; Tue, 06 Dec 2016 06:13:28 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id r7sm25959363wjp.43.2016.12.06.06.13.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 06:13:27 -0800 (PST) From: Thomas Monjalon To: Wei Zhao Cc: dev@dpdk.org, olivier.matz@6wind.com Date: Tue, 06 Dec 2016 15:13:26 +0100 Message-ID: <2528108.UfHjg5zPJi@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1480909144-34544-1-git-send-email-wei.zhao1@intel.com> References: <1480909144-34544-1-git-send-email-wei.zhao1@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] mempool: remove a redundant socket id 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: Tue, 06 Dec 2016 14:13:29 -0000 2016-12-05 11:39, Wei Zhao: > There is a redundant repetition mempool socket_id assignment in the > file rte_mempool.c in function rte_mempool_create_empty. The > statement "mp->socket_id = socket_id;"appear twice in line 821 > and 824. One of them is redundant, so delete it. > > Fixes: 85226f9c526b ("mempool: introduce a function to create an empty pool") > > Signed-off-by: Wei Zhao > Acked-by: John McNamara > Acked-by: Olivier Matz Applied, thanks