summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-01-13 18:12:39 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2010-03-01 16:36:10 +0100
commit8b97fb0fcba0e119d539ef6126ddd1d7ba9c007f (patch)
treef87a86ce46b4b1e71d0b4de5032ba8dfbbb4820a /virt
parentKVM: ppc/booke: Set ESR and DEAR when inject interrupt to guest (diff)
downloadlinux-8b97fb0fcba0e119d539ef6126ddd1d7ba9c007f.tar.xz
linux-8b97fb0fcba0e119d539ef6126ddd1d7ba9c007f.zip
KVM: do not store wqh in irqfd
wqh is unused, so we do not need to store it in irqfd anymore Signed-off-by: Michael S. Tsirkin <mst@redhat.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 486c604365d9..7016319b1ec0 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);
}