aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/eventfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'virt/kvm/eventfd.c')
-rw-r--r--virt/kvm/eventfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c
index 99017e8a92ac..bb4ebd89b9ff 100644
--- a/virt/kvm/eventfd.c
+++ b/virt/kvm/eventfd.c
@@ -230,7 +230,7 @@ fail:
230 if (eventfd && !IS_ERR(eventfd)) 230 if (eventfd && !IS_ERR(eventfd))
231 eventfd_ctx_put(eventfd); 231 eventfd_ctx_put(eventfd);
232 232
233 if (file && !IS_ERR(file)) 233 if (!IS_ERR(file))
234 fput(file); 234 fput(file);
235 235
236 kfree(irqfd); 236 kfree(irqfd);