[CRIU] [crtools-bot] parasite: remove unused commands

Cyrill Gorcunov gorcunov at openvz.org
Mon Jan 30 07:02:38 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit e6a52bdad18c7031a4db727d176dbb1d657970c1
Author: Andrey Vagin <avagin at openvz.org>
Date:   Mon Jan 30 14:35:15 2012 +0300

    parasite: remove unused commands
    
    Signed-off-by: Andrey Vagin <avagin at openvz.org>
    Acked-by: Pavel Emelyanov <xemul at parallels.com>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/parasite.h |    2 --
 parasite.c         |    3 ---
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/include/parasite.h b/include/parasite.h
index 0fa6fdc..c6eb6bc 100644
--- a/include/parasite.h
+++ b/include/parasite.h
@@ -29,8 +29,6 @@
 #define PARASITE_ERR_GETITIMER  -1033
 
 enum {
-	PARASITE_CMD_NONE,
-	PARASITE_CMD_KILLME,
 	PARASITE_CMD_PINGME,
 	PARASITE_CMD_DUMPPAGES,
 	PARASITE_CMD_DUMP_SIGACTS,
diff --git a/parasite.c b/parasite.c
index e3eb254..b450e21 100644
--- a/parasite.c
+++ b/parasite.c
@@ -366,9 +366,6 @@ static int __used parasite_service(unsigned long cmd, void *args, void *brk)
 	BUILD_BUG_ON(sizeof(struct parasite_dump_file_args) > PARASITE_ARG_SIZE);
 
 	switch (cmd) {
-	case PARASITE_CMD_KILLME:
-		sys_close(0);
-		break;
 	case PARASITE_CMD_PINGME:
 		break;
 	case PARASITE_CMD_DUMPPAGES:


More information about the CRIU mailing list