2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

util: Drop redundant vma_area->vma.status assignment

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov
2011-11-15 13:37:17 +04:00
parent 3542220a00
commit 35781a8c6d
3 changed files with 2 additions and 2 deletions

2
util.c
View File

@@ -327,8 +327,6 @@ int parse_maps(pid_t pid, struct list_head *vma_area_list, bool use_map_files)
else if (s == 'p')
vma_area->vma.flags = MAP_PRIVATE;
vma_area->vma.status = 0;
if (strstr(big_buffer, "[stack]")) {
vma_area->vma.status |= VMA_AREA_REGULAR | VMA_AREA_STACK;
vma_area->vma.prot |= PROT_GROWSDOWN;