From 9375860adaf2ec9779b4925ec8c3750f27ebb88c Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Wed, 19 Jan 2022 08:28:22 +0100 Subject: [PATCH] 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 --- tools/libs/evtchn/minios.c | 11 ----------- 1 file changed, 11 deletions(-) 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; -- 2.39.5