diff options
author | David Vrabel <david.vrabel@citrix.com> | 2014-02-17 18:45:17 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2014-02-28 21:26:20 +0100 |
commit | 4201cdbd6cde19a69b862984ef674ce667d526e1 (patch) | |
tree | 3edaee459df23dda67d1d04c346820f21dc88976 /drivers/xen/events | |
parent | xen/events: remove the unused resend_irq_on_evtchn() (diff) | |
download | linux-4201cdbd6cde19a69b862984ef674ce667d526e1.tar.xz linux-4201cdbd6cde19a69b862984ef674ce667d526e1.zip |
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>
Diffstat (limited to 'drivers/xen/events')
-rw-r--r-- | drivers/xen/events/events_base.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/xen/events/events_base.c b/drivers/xen/events/events_base.c index dca101ab1747..9875d6ec1063 100644 --- a/drivers/xen/events/events_base.c +++ b/drivers/xen/events/events_base.c @@ -469,9 +469,6 @@ static void xen_evtchn_close(unsigned int port) close.port = port; if (HYPERVISOR_event_channel_op(EVTCHNOP_close, &close) != 0) BUG(); - - /* Closed ports are implicitly re-bound to VCPU0. */ - bind_evtchn_to_cpu(port, 0); } static void pirq_query_unmask(int irq) |