aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Krause <[email protected]>2013-06-26 20:36:23 +0200
committerPaolo Bonzini <[email protected]>2013-07-18 12:29:29 +0200
commit6b61edf76551c4ee3ad2e6e377bc4c23c42cedf5 (patch)
tree44f45c6a7ab68ff480271599b9b224857f73cde8
parentc2bae8939487c101b0516c4c8ad80f543b22bb29 (diff)
KVM: x86: Drop useless cast
Void pointers don't need no casting, drop it. Signed-off-by: Mathias Krause <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Gleb Natapov <[email protected]>
-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");