[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2 2/3] 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 <jgross@xxxxxxxx> --- V2: - rebase --- 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.31.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |