From 9e5f8634fecb61afd19a96bfc600554f114f659c Mon Sep 17 00:00:00 2001 From: Gregory Haskins Date: Thu, 18 Jun 2009 13:44:16 -0400 Subject: 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 Signed-off-by: Avi Kivity --- virt/kvm/eventfd.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'virt') 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); -- cgit v1.2.3