[CRIU] [PATCH] page-read: remove redundant initialisation

Tikhomirov Pavel snorcht at gmail.com
Wed Mar 19 06:13:24 PDT 2014


previous init of pr->parent at line 220

Signed-off-by: Tikhomirov Pavel <snorcht at gmail.com>
---
 page-read.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/page-read.c b/page-read.c
index 6ed1e6b..d78b47d 100644
--- a/page-read.c
+++ b/page-read.c
@@ -226,7 +226,6 @@ int open_page_read_at(int dfd, int pid, struct page_read *pr, int flags, bool sh
 		if (pr->fd_pg < 0)
 			return -1;
 
-		pr->parent = NULL;
 		pr->get_pagemap = get_page_vaddr;
 		pr->put_pagemap = NULL;
 		pr->read_page = read_page;
-- 
1.8.3.2



More information about the CRIU mailing list