提交 8b97fb0f 编写于 作者: M Michael S. Tsirkin 提交者: Marcelo Tosatti

KVM: do not store wqh in irqfd

wqh is unused, so we do not need to store it in irqfd anymore
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 daf5e271
...@@ -47,7 +47,6 @@ struct _irqfd { ...@@ -47,7 +47,6 @@ struct _irqfd {
int gsi; int gsi;
struct list_head list; struct list_head list;
poll_table pt; poll_table pt;
wait_queue_head_t *wqh;
wait_queue_t wait; wait_queue_t wait;
struct work_struct inject; struct work_struct inject;
struct work_struct shutdown; struct work_struct shutdown;
...@@ -159,8 +158,6 @@ irqfd_ptable_queue_proc(struct file *file, wait_queue_head_t *wqh, ...@@ -159,8 +158,6 @@ irqfd_ptable_queue_proc(struct file *file, wait_queue_head_t *wqh,
poll_table *pt) poll_table *pt)
{ {
struct _irqfd *irqfd = container_of(pt, struct _irqfd, pt); struct _irqfd *irqfd = container_of(pt, struct _irqfd, pt);
irqfd->wqh = wqh;
add_wait_queue(wqh, &irqfd->wait); add_wait_queue(wqh, &irqfd->wait);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册