From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from lfbn-1-5996-232.w90-110.abo.wanadoo.fr ([90.110.195.232] helo=[192.168.1.13]) by mail.droids-corp.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1c7jsy-0003T0-3s; Fri, 18 Nov 2016 15:11:24 +0100 To: "Mcnamara, John" , "Zhao1, Wei" , "dev@dpdk.org" References: <1479089737-1966-1-git-send-email-wei.zhao1@intel.com> From: Olivier Matz Message-ID: <009f3afb-beeb-9f9f-d786-f6d20c1217c5@6wind.com> Date: Fri, 18 Nov 2016 15:07:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] lib/librte_mempool: a redundant of socket_id assignment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 14:07:55 -0000 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