From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH v2] xen: simplify balloon_first_page() with list_first_entry_or_null() Date: Wed, 13 Nov 2013 14:03:49 +0000 Message-ID: <528386C5.3010105@citrix.com> References: <528377CE.9090505@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vgb2w-0004Qd-Fj for xen-devel@lists.xenproject.org; Wed, 13 Nov 2013 14:03:54 +0000 In-Reply-To: <528377CE.9090505@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jeff Liu Cc: xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, David Vrabel List-Id: xen-devel@lists.xenproject.org On 13/11/13 12:59, Jeff Liu wrote: > From: Jie Liu > > Replace the code logic at balloon_first_page() by calling > list_first_entry_or_null() directly. since here is only > one user of that routine, therefore we can just remove it. > > Signed-off-by: Jie Liu Reviewed-by: David Vrabel (In case anyone else is wondering this list function was introduced in 3.10.) David