提交 6b61edf7 编写于 作者: M Mathias Krause 提交者: Paolo Bonzini

KVM: x86: Drop useless cast

Void pointers don't need no casting, drop it.
Signed-off-by: NMathias Krause <minipli@googlemail.com>
Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NGleb Natapov <gleb@redhat.com>
上级 c2bae893
...@@ -5347,7 +5347,7 @@ static struct notifier_block pvclock_gtod_notifier = { ...@@ -5347,7 +5347,7 @@ static struct notifier_block pvclock_gtod_notifier = {
int kvm_arch_init(void *opaque) int kvm_arch_init(void *opaque)
{ {
int r; int r;
struct kvm_x86_ops *ops = (struct kvm_x86_ops *)opaque; struct kvm_x86_ops *ops = opaque;
if (kvm_x86_ops) { if (kvm_x86_ops) {
printk(KERN_ERR "kvm: already loaded the other module\n"); printk(KERN_ERR "kvm: already loaded the other module\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册