From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f180.google.com (mail-we0-f180.google.com [74.125.82.180]) by dpdk.org (Postfix) with ESMTP id 3C3259AB8 for ; Mon, 9 Mar 2015 12:50:37 +0100 (CET) Received: by wevk48 with SMTP id k48so30270246wev.7 for ; Mon, 09 Mar 2015 04:50:37 -0700 (PDT) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Uh3FrUtC0p/rK+XYPo2ktEFZ0sHY74+aEMvcw7wG3Qk=; b=TRYdpJu7jpt4bnpyPVbSOeVnA7Ka9tBxSP2I4V5I15XfWTEXh/ldrYzjuEE43omWAs oOZNdDKS3Y37Sk2vGPCvM1tdLtgnQXF/2L/0uQNX3A0HM8J/Nv25+dGXVPJthxFjJqxX c9sQ42pb0tsouSgHl2SZvVXeVimRNOLZxpk7gKxkwR2+OXoPNxfZx+sYji4qAM7k2WJl YZgApJLawXVZ91WifPmeuFlhPFPDqfNJOjobcTlK6O+uslJsC9gsLntScOwFUDFkpGo6 VgmE11ufcSNk5yAVOSmulbP1Y+BpJobPQv9nUuGQoXjowNE7Kakxq4gDlieTbo5Dis8I 4Tyg== X-Gm-Message-State: ALoCoQnJ1v/3cWVrWKYuQ5liLZ4+sfZTpNgnLaMo6+SuEwOlq22JUXUTC4HGqvjWzf4L4YQ+cpVd X-Received: by 10.180.97.226 with SMTP id ed2mr100550737wib.4.1425901837116; Mon, 09 Mar 2015 04:50:37 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id n1sm15171286wib.11.2015.03.09.04.50.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2015 04:50:36 -0700 (PDT) From: Thomas Monjalon To: "Xie, Huawei" Date: Mon, 09 Mar 2015 09:28:22 +0100 Message-ID: <3917907.bcrFdLMfny@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <2601191342CEEE43887BDE71AB977258213F448B@irsmsx105.ger.corp.intel.com> References: <1425621163-14942-1-git-send-email-huawei.xie@intel.com> <2601191342CEEE43887BDE71AB977258213F448B@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] lib/librte_vhost: use loop instead of goto 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: Mon, 09 Mar 2015 11:50:37 -0000 > > This patch reorder the code a bit to use loop instead of goto. > > Besides, remove abudant check 'fd != -1'. > > > > Signed-off-by: Huawei Xie > > Acked-by: Konstantin Ananyev Applied, thanks