[CRIU] [PATCH 04/10] parasite: Drop unneeded PARASITE_CMD_PINGME command

Cyrill Gorcunov gorcunov at openvz.org
Mon Mar 12 16:55:17 EDT 2012


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/parasite.h |    1 -
 parasite.c         |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/parasite.h b/include/parasite.h
index 2dd5b8d..5936317 100644
--- a/include/parasite.h
+++ b/include/parasite.h
@@ -17,7 +17,6 @@
 #define PARASITE_MAX_SIZE	(64 << 10)
 
 enum {
-	PARASITE_CMD_PINGME,
 	PARASITE_CMD_INIT,
 	PARASITE_CMD_SET_LOGFD,
 	PARASITE_CMD_FINI,
diff --git a/parasite.c b/parasite.c
index 4ad12be..6823e6a 100644
--- a/parasite.c
+++ b/parasite.c
@@ -585,8 +585,6 @@ static int __used parasite_service(unsigned long cmd, void *args)
 	BUILD_BUG_ON(sizeof(struct parasite_dump_misc) > PARASITE_ARG_SIZE);
 
 	switch (cmd) {
-	case PARASITE_CMD_PINGME:
-		return 0;
 	case PARASITE_CMD_INIT:
 		return init((struct parasite_init_args *) args);
 	case PARASITE_CMD_FINI:
-- 
1.7.7.6



More information about the CRIU mailing list