2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 05:18:00 +00:00

mount: Drop useless NULL assignment

We allocate mount_info with xzalloc, no need for
additional NULL assignment.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2013-12-03 22:50:00 +04:00 committed by Pavel Emelyanov
parent 38c34aae5e
commit 58c4631ae7

View File

@ -1098,7 +1098,6 @@ struct mount_info *mnt_entry_alloc()
INIT_LIST_HEAD(&new->mnt_share);
INIT_LIST_HEAD(&new->mnt_bind);
INIT_LIST_HEAD(&new->postpone);
new->mnt_master = NULL;
}
return new;
}