From: Julia Lawall Date: Mon, 1 Dec 2008 22:34:51 +0000 (-0800) Subject: fs/namespace.c: drop code after return X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5cc4a0341a1295ea56b2e62eb70d96d8fdb94ded;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 1c09cab8f7cf..a40685d800a8 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);