From: Julia Lawall Date: Mon, 1 Dec 2008 22:34:51 +0000 (-0800) Subject: fs/namespace.c: drop code after return X-Git-Tag: v2.6.29-rc1~549^2~29 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5cc4a0341a1295ea56b2e62eb70d96d8fdb94ded;p=~shefty%2Frdma-dev.git fs/namespace.c: drop code after return The extra semicolon serves no purpose. Signed-off-by: Julia Lawall Reviewed-by: Richard Genoud Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- diff --git a/fs/namespace.c b/fs/namespace.c index 1c09cab8f7c..a40685d800a 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -1990,7 +1990,7 @@ static struct mnt_namespace *dup_mnt_ns(struct mnt_namespace *mnt_ns, if (!new_ns->root) { up_write(&namespace_sem); kfree(new_ns); - return ERR_PTR(-ENOMEM);; + return ERR_PTR(-ENOMEM); } spin_lock(&vfsmount_lock); list_add_tail(&new_ns->list, &new_ns->root->mnt_list);