From: "Michael S. Tsirkin" Subject: [PATCH 2/2] kvm: do not store wqh in irqfd Date: Wed, 13 Jan 2010 19:12:39 +0200 Message-ID: <20100113171239.GC19798@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Davide Libenzi , "Michael S. Tsirkin" , Avi Kivity , kvm@vger.kernel.org, Linux Kernel Mailing List Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50693 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756137Ab0AMRPg (ORCPT ); Wed, 13 Jan 2010 12:15:36 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: wqh is unused, so we do not need to store it in irqfd anymore Signed-off-by: Michael S. Tsirkin --- virt/kvm/eventfd.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c index a9d3fc6..ee17ab4 100644 --- a/virt/kvm/eventfd.c +++ b/virt/kvm/eventfd.c @@ -47,7 +47,6 @@ struct _irqfd { int gsi; struct list_head list; poll_table pt; - wait_queue_head_t *wqh; wait_queue_t wait; struct work_struct inject; struct work_struct shutdown; @@ -159,8 +158,6 @@ irqfd_ptable_queue_proc(struct file *file, wait_queue_head_t *wqh, poll_table *pt) { struct _irqfd *irqfd = container_of(pt, struct _irqfd, pt); - - irqfd->wqh = wqh; add_wait_queue(wqh, &irqfd->wait); } -- 1.6.6.144.g5c3af