Commit 6b61edf7 authored by Mathias Krause's avatar Mathias Krause Committed by Paolo Bonzini

KVM: x86: Drop useless cast

Void pointers don't need no casting, drop it.
Signed-off-by: default avatarMathias Krause <minipli@googlemail.com>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
parent c2bae893
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment