diff options
author | Andrey Smetanin <asmetanin@virtuozzo.com> | 2015-10-16 10:07:45 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-16 10:34:28 +0200 |
commit | 351dc6477cd35136ce4668401b1b1332a62908a8 (patch) | |
tree | 909d643640eeb91f7312572074681d915138febc /drivers/net/irda/irtty-sir.c | |
parent | 7cae2bedcbd4680b155999655e49c27b9cf020fa (diff) | |
download | op-kernel-dev-351dc6477cd35136ce4668401b1b1332a62908a8.zip op-kernel-dev-351dc6477cd35136ce4668401b1b1332a62908a8.tar.gz |
kvm/eventfd: avoid loop inside irqfd_update()
The loop(for) inside irqfd_update() is unnecessary
because any other value for irq_entry.type will just trigger
schedule_work(&irqfd->inject) in irqfd_wakeup.
Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Vitaly Kuznetsov <vkuznets@redhat.com>
CC: "K. Y. Srinivasan" <kys@microsoft.com>
CC: Gleb Natapov <gleb@kernel.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/net/irda/irtty-sir.c')
0 files changed, 0 insertions, 0 deletions