From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH 5/6] net/virtio-user: simplify device features preparation Date: Tue, 30 Oct 2018 11:26:48 +0100 Message-ID: References: <20181029052808.16520-1-tiwei.bie@intel.com> <20181029052808.16520-6-tiwei.bie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Tiwei Bie , zhihong.wang@intel.com, dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 770DEFEB for ; Tue, 30 Oct 2018 11:26:52 +0100 (CET) In-Reply-To: <20181029052808.16520-6-tiwei.bie@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/29/18 6:28 AM, Tiwei Bie wrote: > Get rid of the duplicated code in device features preparation > which looks awful. > > Signed-off-by: Tiwei Bie > --- > .../net/virtio/virtio_user/virtio_user_dev.c | 31 +++++++------------ > 1 file changed, 11 insertions(+), 20 deletions(-) Welcomed cleanup! Reviewed-by: Maxime Coquelin Thanks, Maxime