From ec43f0886eee614d3c6a6bef6851336368450fb2 Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Wed, 19 Jan 2022 08:28:23 +0100 Subject: [PATCH] tools/libs/gnttab: remove old mini-os callback It is possible now to delete minios_gnttab_close_fd(). Signed-off-by: Juergen Gross Acked-by: Andrew Cooper --- tools/libs/gnttab/minios.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/libs/gnttab/minios.c b/tools/libs/gnttab/minios.c index f59fad3577..cac89f0ba6 100644 --- a/tools/libs/gnttab/minios.c +++ b/tools/libs/gnttab/minios.c @@ -33,8 +33,6 @@ #include "private.h" -void minios_gnttab_close_fd(int fd); - static int gnttab_close_fd(struct file *file) { gntmap_fini(file->dev); @@ -89,13 +87,6 @@ int osdep_gnttab_close(xengnttab_handle *xgt) return close(xgt->fd); } -void minios_gnttab_close_fd(int fd) -{ - struct file *file = get_file_from_fd(fd); - - gnttab_close_fd(file); -} - void *osdep_gnttab_grant_map(xengnttab_handle *xgt, uint32_t count, int flags, int prot, uint32_t *domids, uint32_t *refs, -- 2.30.2