Commit 58c4631a authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

mount: Drop useless NULL assignment

We allocate mount_info with xzalloc, no need for
additional NULL assignment.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 38c34aae
...@@ -1098,7 +1098,6 @@ struct mount_info *mnt_entry_alloc() ...@@ -1098,7 +1098,6 @@ struct mount_info *mnt_entry_alloc()
INIT_LIST_HEAD(&new->mnt_share); INIT_LIST_HEAD(&new->mnt_share);
INIT_LIST_HEAD(&new->mnt_bind); INIT_LIST_HEAD(&new->mnt_bind);
INIT_LIST_HEAD(&new->postpone); INIT_LIST_HEAD(&new->postpone);
new->mnt_master = NULL;
} }
return new; return new;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment