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>
This commit is contained in:
Родитель
c2bae89394
Коммит
6b61edf765
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче