summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorMathias Krause2013-06-26 20:36:23 +0200
committerPaolo Bonzini2013-07-18 12:29:29 +0200
commit6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5 (patch)
tree44f45c6a7ab68ff480271599b9b224857f73cde8 /arch/x86/kvm/x86.c
parentKVM: VMX: Use proper types to access const arrays (diff)
downloadkernel-qcow2-linux-6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5.tar.gz
kernel-qcow2-linux-6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5.tar.xz
kernel-qcow2-linux-6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5.zip
KVM: x86: Drop useless cast
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>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
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");