[CRIU] [PATCH 1/3] parasite: remove an unused id field from parasite_dump_thread

Andrey Vagin avagin at openvz.org
Thu Jun 6 06:35:33 EDT 2013


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/parasite.h | 1 -
 parasite-syscall.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/include/parasite.h b/include/parasite.h
index 3dd42a7..25bb7b9 100644
--- a/include/parasite.h
+++ b/include/parasite.h
@@ -141,7 +141,6 @@ struct parasite_dump_creds {
 };
 
 struct parasite_dump_thread {
-	int			id;
 	unsigned int		*tid_addr;
 	pid_t			tid;
 	k_rtsigset_t		blocked;
diff --git a/parasite-syscall.c b/parasite-syscall.c
index aab0f5c..b61c93f 100644
--- a/parasite-syscall.c
+++ b/parasite-syscall.c
@@ -478,7 +478,6 @@ int parasite_dump_thread_seized(struct parasite_ctl *ctl, int id,
 	int ret;
 
 	args = parasite_args(ctl, struct parasite_dump_thread);
-	args->id = id;
 
 	if (id == 0)
 		ret = parasite_execute_daemon(PARASITE_CMD_DUMP_THREAD, ctl);
-- 
1.8.2



More information about the CRIU mailing list