[CRIU] [PATCH 07/16] mem/vma: Drop never used VM_AREA_LIST macro

Mike Rapoport rppt at linux.ibm.com
Mon Jul 8 15:38:07 MSK 2019


On Fri, Jul 05, 2019 at 06:38:02PM +0300, Cyrill Gorcunov wrote:
> Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>

Reviewed-by: Mike Rapoport <rppt at linux.ibm.com>

> ---
>  criu/include/vma.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/criu/include/vma.h b/criu/include/vma.h
> index 6f5ee19d3888..3cdd1b319561 100644
> --- a/criu/include/vma.h
> +++ b/criu/include/vma.h
> @@ -18,8 +18,6 @@ struct vm_area_list {
>  	unsigned long		shared_longest; /* nr of pages in longest shared VMA */
>  };
>  
> -#define VM_AREA_LIST(name)	struct vm_area_list name = { .h = LIST_HEAD_INIT(name.h), .nr = 0, }
> -
>  static inline void vm_area_list_init(struct vm_area_list *vml)
>  {
>  	memset(vml, 0, sizeof(*vml));
> -- 
> 2.20.1
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 

-- 
Sincerely yours,
Mike.



More information about the CRIU mailing list