From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: x86: Simplify kvm timer handler Date: Wed, 19 Oct 2011 12:30:50 -0200 Message-ID: <20111019143050.GA6166@amt.cnet> References: <4E705EA8.8030609@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:31545 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755252Ab1JSOb6 (ORCPT ); Wed, 19 Oct 2011 10:31:58 -0400 Content-Disposition: inline In-Reply-To: <4E705EA8.8030609@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Sep 14, 2011 at 09:58:32AM +0200, Jan Kiszka wrote: > The vcpu reference of a kvm_timer can't become NULL while the timer is > valid, so drop this redundant test. This also makes it pointless to > carry a separate __kvm_timer_fn, fold it into kvm_timer_fn. > > Signed-off-by: Jan Kiszka > --- > arch/x86/kvm/timer.c | 26 ++++---------------------- > 1 files changed, 4 insertions(+), 22 deletions(-) Applied, thanks.