KVM: x86: Drop useless cast
authorMathias Krause <minipli@googlemail.com>
Wed, 26 Jun 2013 18:36:23 +0000 (20:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Jul 2013 10:29:29 +0000 (12:29 +0200)
Void pointers don't need no casting, drop it.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/x86.c

index 7bea976fc8483f1942c4976aac761ddbc15ea2bc..abbcaa7f6e8fe38226bc998803fe9e72aac28912 100644 (file)
@@ -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");