From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] mempool: remove a redundant socket id assignment Date: Tue, 06 Dec 2016 15:13:26 +0100 Message-ID: <2528108.UfHjg5zPJi@xps13> References: <1480909144-34544-1-git-send-email-wei.zhao1@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, olivier.matz@6wind.com To: Wei Zhao 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) In-Reply-To: <1480909144-34544-1-git-send-email-wei.zhao1@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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