Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4201cdbd authored by David Vrabel's avatar David Vrabel Committed by Konrad Rzeszutek Wilk
Browse files

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: default avatarDavid Vrabel <david.vrabel@citrix.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
parent 4640ddf5
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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)