From: Olivier Matz Subject: Re: [PATCH] lib/librte_mempool: a redundant of socket_id assignment Date: Fri, 18 Nov 2016 15:07:47 +0100 Message-ID: <009f3afb-beeb-9f9f-d786-f6d20c1217c5@6wind.com> References: <1479089737-1966-1-git-send-email-wei.zhao1@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: "Mcnamara, John" , "Zhao1, Wei" , "dev@dpdk.org" Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 4F54E54AF for ; Fri, 18 Nov 2016 15:07:55 +0100 (CET) In-Reply-To: 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" Hi Wei, On 11/14/2016 11:25 AM, Mcnamara, John wrote: > >> -----Original Message----- >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wei Zhao >> Sent: Monday, November 14, 2016 2:16 AM >> To: dev@dpdk.org >> Cc: olivier.matz@6wind.com; Zhao1, Wei >> Subject: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant of socket_id >> assignment >> >> From: zhao wei >> >> 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 ("lib/librte_mempool: mempool:introduce a function to >> create an empty pool") >> >> Signed-off-by: zhao wei > > Titles should generally start with a verb to indicate what is being done. > Something like: > > lib/librte_mempool: remove redundant socket_id assignment > > Apart from that. > > Acked-by: John McNamara I would even say: mempool: remove redundant socket_id assignment Acked-by: Olivier Matz