[CRIU] [PATCH] show: cleanup

Kinsbursky Stanislav skinsbursky at openvz.org
Thu Jul 19 06:19:18 EDT 2012


From: Stanislav Kinsbursky <skinsbursky at openvz.org>

remap_id_type() is not used.

Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
 cr-show.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
-------------- next part --------------
diff --git a/cr-show.c b/cr-show.c
index 9e9356f..7983e27 100644
--- a/cr-show.c
+++ b/cr-show.c
@@ -86,14 +86,6 @@ void show_reg_files(int fd_reg_files, struct cr_options *o)
 	pb_show_plain(fd_reg_files, reg_file_entry);
 }
 
-static inline char *remap_id_type(u32 id)
-{
-	if (id & REMAP_GHOST)
-		return "ghost";
-	else
-		return "real";
-}
-
 void show_remap_files(int fd, struct cr_options *o)
 {
 	pb_show_plain(fd, remap_file_path_entry);


More information about the CRIU mailing list