aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2013-06-26 14:36:23 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-18 06:29:29 -0400
commit6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5 (patch)
tree44f45c6a7ab68ff480271599b9b224857f73cde8 /arch
parentc2bae8939487c101b0516c4c8ad80f543b22bb29 (diff)
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')
-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 = {
5347int kvm_arch_init(void *opaque) 5347int kvm_arch_init(void *opaque)
5348{ 5348{
5349 int r; 5349 int r;
5350 struct kvm_x86_ops *ops = (struct kvm_x86_ops *)opaque; 5350 struct kvm_x86_ops *ops = opaque;
5351 5351
5352 if (kvm_x86_ops) { 5352 if (kvm_x86_ops) {
5353 printk(KERN_ERR "kvm: already loaded the other module\n"); 5353 printk(KERN_ERR "kvm: already loaded the other module\n");