From: Juergen Gross Date: Sun, 16 Jan 2022 08:23:46 +0000 (+0100) Subject: tools/libs/ctrl: remove file related handling X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~1143 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=444597436d08ccae6d210a2b1b877fef636796ea;p=xen.git tools/libs/ctrl: remove file related handling There is no special file handling related to libxenctrl in Mini-OS any longer, so the close hook can be removed. Signed-off-by: Juergen Gross Acked-by: Andrew Cooper Reviewed-by: Samuel Thibault --- diff --git a/tools/libs/ctrl/xc_minios.c b/tools/libs/ctrl/xc_minios.c index 1799daafdc..3dea7a78a5 100644 --- a/tools/libs/ctrl/xc_minios.c +++ b/tools/libs/ctrl/xc_minios.c @@ -35,15 +35,6 @@ #include "xc_private.h" -void minios_interface_close_fd(int fd); - -extern void minios_interface_close_fd(int fd); - -void minios_interface_close_fd(int fd) -{ - files[fd].type = FTYPE_NONE; -} - /* Optionally flush file to disk and discard page cache */ void discard_file_cache(xc_interface *xch, int fd, int flush) {