diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index b152b23cd095..0db6dfcc8420 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -1609,7 +1609,6 @@ static long kvm_vm_ioctl(struct file *filp, | |||
1609 | r = -EFAULT; | 1609 | r = -EFAULT; |
1610 | if (copy_from_user(&zone, argp, sizeof zone)) | 1610 | if (copy_from_user(&zone, argp, sizeof zone)) |
1611 | goto out; | 1611 | goto out; |
1612 | r = -ENXIO; | ||
1613 | r = kvm_vm_ioctl_register_coalesced_mmio(kvm, &zone); | 1612 | r = kvm_vm_ioctl_register_coalesced_mmio(kvm, &zone); |
1614 | if (r) | 1613 | if (r) |
1615 | goto out; | 1614 | goto out; |
@@ -1621,7 +1620,6 @@ static long kvm_vm_ioctl(struct file *filp, | |||
1621 | r = -EFAULT; | 1620 | r = -EFAULT; |
1622 | if (copy_from_user(&zone, argp, sizeof zone)) | 1621 | if (copy_from_user(&zone, argp, sizeof zone)) |
1623 | goto out; | 1622 | goto out; |
1624 | r = -ENXIO; | ||
1625 | r = kvm_vm_ioctl_unregister_coalesced_mmio(kvm, &zone); | 1623 | r = kvm_vm_ioctl_unregister_coalesced_mmio(kvm, &zone); |
1626 | if (r) | 1624 | if (r) |
1627 | goto out; | 1625 | goto out; |