From: Mathias Krause Date: Wed, 26 Jun 2013 18:36:23 +0000 (+0200) Subject: KVM: x86: Drop useless cast X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5;p=linux-beck.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 7bea976fc848..abbcaa7f6e8f 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");