diff options
-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 cc182d9..dd25346 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -49,7 +49,6 @@ #include <linux/slab.h> #include <linux/sort.h> #include <linux/bsearch.h> -#include <linux/syscalls.h> #include <asm/processor.h> #include <asm/io.h> @@ -3070,7 +3069,6 @@ static int kvm_dev_ioctl_create_vm(unsigned long type) if (kvm_create_vm_debugfs(kvm, r) < 0) { kvm_put_kvm(kvm); - sys_close(r); return -ENOMEM; } |