Skip to content

Commit 5cc4a03

Browse files
Julia LawallAl Viro
authored andcommitted
fs/namespace.c: drop code after return
The extra semicolon serves no purpose. Signed-off-by: Julia Lawall <julia@diku.dk> Reviewed-by: Richard Genoud <richard.genoud@gmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent dded4f4 commit 5cc4a03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/namespace.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ static struct mnt_namespace *dup_mnt_ns(struct mnt_namespace *mnt_ns,
19901990
if (!new_ns->root) {
19911991
up_write(&namespace_sem);
19921992
kfree(new_ns);
1993-
return ERR_PTR(-ENOMEM);;
1993+
return ERR_PTR(-ENOMEM);
19941994
}
19951995
spin_lock(&vfsmount_lock);
19961996
list_add_tail(&new_ns->list, &new_ns->root->mnt_list);

0 commit comments

Comments
 (0)