From afe059b0ae1d34a91b08445217be112be8edf487 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Wed, 13 Jan 2010 19:12:39 +0200 Subject: [PATCH] --- yaml --- r: 186062 b: refs/heads/master c: 8b97fb0fcba0e119d539ef6126ddd1d7ba9c007f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/virt/kvm/eventfd.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index cd668c37acd0..ca4b7bea6ebb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: daf5e27109c8c16c987e955cc6abbbc0af050edd +refs/heads/master: 8b97fb0fcba0e119d539ef6126ddd1d7ba9c007f diff --git a/trunk/virt/kvm/eventfd.c b/trunk/virt/kvm/eventfd.c index 486c604365d9..7016319b1ec0 100644 --- a/trunk/virt/kvm/eventfd.c +++ b/trunk/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); }