Commit 4201cdbd6cde19a69b862984ef674ce667d526e1

Authored by David Vrabel
Committed by Konrad Rzeszutek Wilk
1 parent 4640ddf5ef

xen/events: remove unnecessary call to bind_evtchn_to_cpu()

Since bind_evtchn_to_cpu() is always called after an event channel is
bound, there is no need to call it after closing an event channel.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff

drivers/xen/events/events_base.c
... ... @@ -469,9 +469,6 @@
469 469 close.port = port;
470 470 if (HYPERVISOR_event_channel_op(EVTCHNOP_close, &close) != 0)
471 471 BUG();
472   -
473   - /* Closed ports are implicitly re-bound to VCPU0. */
474   - bind_evtchn_to_cpu(port, 0);
475 472 }
476 473  
477 474 static void pirq_query_unmask(int irq)