[CRIU] [PATCH] page-read: remove redundant initialisation
Pavel Emelyanov
xemul at parallels.com
Thu Mar 20 21:38:34 PDT 2014
On 03/19/2014 05:13 PM, Tikhomirov Pavel wrote:
> 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;
>
applied
More information about the CRIU
mailing list