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

Cyrill Gorcunov gorcunov at gmail.com
Fri Jul 5 18:38:02 MSK 2019


Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.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



More information about the CRIU mailing list