Skip to content

Commit

Permalink
KVM: do not store wqh in irqfd
Browse files Browse the repository at this point in the history
wqh is unused, so we do not need to store it in irqfd anymore

Signed-off-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
  • Loading branch information
mstsirkin authored and matosatti committed Mar 1, 2010
1 parent daf5e27 commit 8b97fb0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions virt/kvm/eventfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 8b97fb0

Please sign in to comment.