Message ID | 20190705153811.22652-8-gorcunov@gmail.com |
---|---|
State | Accepted |
Series | "mem: Cleanup and fixups" |
Commit | b6ffd68377e5e1e18eda64a68f371574710ad065 |
Headers | show |
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));
On Fri, Jul 05, 2019 at 06:38:02PM +0300, Cyrill Gorcunov wrote: > Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Reviewed-by: Mike Rapoport <rppt@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@openvz.org > https://lists.openvz.org/mailman/listinfo/criu >
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- criu/include/vma.h | 2 -- 1 file changed, 2 deletions(-)