summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGregory Haskins <ghaskins@novell.com>2009-06-18 13:44:16 -0400
committerAvi Kivity <avi@redhat.com>2009-06-21 15:55:52 +0300
commit9e5f8634fecb61afd19a96bfc600554f114f659c (patch)
treeb3e3d7d9dcb45c4d7f11700397905a1f8bbf581b /virt
parentda9904e44ce3da5be01dc7f5597380da03e8d110 (diff)
KVM: update inaccurate irqfd comment
We no longer hold the fget() for the irqfd lifetime, so clean up the comments related to that. Signed-off-by: Gregory Haskins <ghaskins@novell.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/eventfd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c
index 2c8028c1a0a3..a0e329f6944c 100644
--- a/virt/kvm/eventfd.c
+++ b/virt/kvm/eventfd.c
@@ -156,9 +156,6 @@ kvm_irqfd(struct kvm *kvm, int fd, int gsi, int flags)
INIT_LIST_HEAD(&irqfd->list);
INIT_WORK(&irqfd->inject, irqfd_inject);
- /*
- * Embed the file* lifetime in the irqfd.
- */
file = eventfd_fget(fd);
if (IS_ERR(file)) {
ret = PTR_ERR(file);