From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH] x86/time: slightly streamline __update_vcpu_system_time() Date: Tue, 13 Oct 2015 14:39:30 +0100 Message-ID: <561D0992.2040105@citrix.com> References: <561D14BD02000078000AA896@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zlznj-0000kV-9v for xen-devel@lists.xenproject.org; Tue, 13 Oct 2015 13:39:35 +0000 In-Reply-To: <561D14BD02000078000AA896@prv-mh.provo.novell.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: Jan Beulich , xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org On 13/10/15 13:27, Jan Beulich wrote: > Fold two if()-s using the same condition, converting the memset() so > far separating them to a simple initializer. Move common assignments > out of the conditional. Drop an unnecessary initializer. > > Signed-off-by: Jan Beulich > --- > Additionally the is_hvm_domain() visible in the last hunk's tail > context looks, along with a few other releated ones, suspicious - > shouldn't these be has_hvm_container_domain() instead? I believe you are correct.