diff options
author | Julia Lawall <julia@diku.dk> | 2008-12-02 01:34:51 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-01-01 02:07:38 +0300 |
commit | 5cc4a0341a1295ea56b2e62eb70d96d8fdb94ded (patch) | |
tree | aba5a14fe07d1ebc47991f6d70281b1b937931c4 | |
parent | dded4f4d5048e64a01cf52eed4d27c8cb2600525 (diff) | |
download | linux-5cc4a0341a1295ea56b2e62eb70d96d8fdb94ded.tar.xz |
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>
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |