Commit 8b97fb0fcba0e119d539ef6126ddd1d7ba9c007f
Committed by
Marcelo Tosatti
1 parent
daf5e27109
Exists in
master
and in
39 other branches
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>
Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff
virt/kvm/eventfd.c
... | ... | @@ -47,7 +47,6 @@ |
47 | 47 | int gsi; |
48 | 48 | struct list_head list; |
49 | 49 | poll_table pt; |
50 | - wait_queue_head_t *wqh; | |
51 | 50 | wait_queue_t wait; |
52 | 51 | struct work_struct inject; |
53 | 52 | struct work_struct shutdown; |
... | ... | @@ -159,8 +158,6 @@ |
159 | 158 | poll_table *pt) |
160 | 159 | { |
161 | 160 | struct _irqfd *irqfd = container_of(pt, struct _irqfd, pt); |
162 | - | |
163 | - irqfd->wqh = wqh; | |
164 | 161 | add_wait_queue(wqh, &irqfd->wait); |
165 | 162 | } |
166 | 163 |