projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2bae89
)
KVM: x86: Drop useless cast
author
Mathias Krause
<minipli@googlemail.com>
Wed, 26 Jun 2013 18:36:23 +0000
(20:36 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 18 Jul 2013 10:29:29 +0000
(12:29 +0200)
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>
arch/x86/kvm/x86.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index 7bea976fc8483f1942c4976aac761ddbc15ea2bc..abbcaa7f6e8fe38226bc998803fe9e72aac28912 100644
(file)
--- 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");