summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2013-06-26 20:36:23 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-18 12:29:29 +0200
commit6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5 (patch)
tree44f45c6a7ab68ff480271599b9b224857f73cde8 /arch/x86/kvm
parentc2bae8939487c101b0516c4c8ad80f543b22bb29 (diff)
downloadblackbird-op-linux-6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5.tar.gz
blackbird-op-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')
-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");
OpenPOWER on IntegriCloud