From: Juergen Gross Date: Wed, 19 Jan 2022 07:28:22 +0000 (+0100) Subject: tools/libs/evtchn: remove old mini-os callback X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~1139^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9375860adaf2ec9779b4925ec8c3750f27ebb88c;p=xen.git tools/libs/evtchn: remove old mini-os callback It is possible now to delete minios_evtchn_close_fd() and the extern declaration of event_queue. Signed-off-by: Juergen Gross Acked-by: Andrew Cooper --- diff --git a/tools/libs/evtchn/minios.c b/tools/libs/evtchn/minios.c index ee3da9f8fe..30f98bc7e4 100644 --- a/tools/libs/evtchn/minios.c +++ b/tools/libs/evtchn/minios.c @@ -47,10 +47,6 @@ struct port_info { bool bound; }; -extern struct wait_queue_head event_queue; - -void minios_evtchn_close_fd(int fd); - /* XXX Note: This is not threadsafe */ static struct port_info *port_alloc(xenevtchn_handle *xce) { @@ -152,13 +148,6 @@ int osdep_evtchn_restrict(xenevtchn_handle *xce, domid_t domid) return -1; } -void minios_evtchn_close_fd(int fd) -{ - struct file *file = get_file_from_fd(fd); - - evtchn_close_fd(file); -} - int xenevtchn_notify(xenevtchn_handle *xce, evtchn_port_t port) { int ret;