From: Mathias Krause Date: Wed, 26 Jun 2013 18:36:23 +0000 (+0200) Subject: KVM: x86: Drop useless cast X-Git-Tag: upstream/snapshot3+hdmi~4433^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git KVM: x86: Drop useless cast Void pointers don't need no casting, drop it. Signed-off-by: Mathias Krause Reviewed-by: Paolo Bonzini Signed-off-by: Gleb Natapov --- diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 7bea976..abbcaa7 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -5347,7 +5347,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");