tools/libs/ctrl: remove file related handling
authorJuergen Gross <jgross@suse.com>
Sun, 16 Jan 2022 08:23:46 +0000 (09:23 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 18 Jan 2022 14:58:28 +0000 (14:58 +0000)
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 <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
tools/libs/ctrl/xc_minios.c

index 1799daafdcdfa30934333ef24f74e2ae94e16d39..3dea7a78a576d7425f36096837cb25099a2577ab 100644 (file)
 
 #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)
 {