From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 3/3] KVM: x86: Drop useless cast Date: Thu, 27 Jun 2013 15:39:00 +0200 Message-ID: <51CC4074.2050207@redhat.com> References: <1372271783-18732-1-git-send-email-minipli@googlemail.com> <1372271783-18732-4-git-send-email-minipli@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , kvm@vger.kernel.org To: Mathias Krause Return-path: Received: from mx1.redhat.com ([209.132.183.28]:23514 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752540Ab3F0NjI (ORCPT ); Thu, 27 Jun 2013 09:39:08 -0400 In-Reply-To: <1372271783-18732-4-git-send-email-minipli@googlemail.com> Sender: kvm-owner@vger.kernel.org List-ID: Il 26/06/2013 20:36, Mathias Krause ha scritto: > Void pointers don't need no casting, drop it. > > Signed-off-by: Mathias Krause > --- > arch/x86/kvm/x86.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > index e8ba99c..472350c 100644 > --- a/arch/x86/kvm/x86.c > +++ b/arch/x86/kvm/x86.c > @@ -5300,7 +5300,7 @@ static struct notifier_block pvclock_gtod_notifier = { > int kvm_arch_init(void *opaque) > { > int r; > - struct kvm_x86_ops *ops = (struct kvm_x86_ops *)opaque; > + struct kvm_x86_ops *ops = opaque; > > if (kvm_x86_ops) { > printk(KERN_ERR "kvm: already loaded the other module\n"); > Reviewed-by: Paolo Bonzini