From: Kautuk Consul Date: Fri, 23 Sep 2011 16:38:29 +0000 (+0530) Subject: namespace: mnt_want_write: Remove unused label 'out' X-Git-Tag: v3.3-rc1~165^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a127e2d518269ad95364639c293c8a5c1a1cdd3c;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git namespace: mnt_want_write: Remove unused label 'out' I was studying the code and I saw that the out label is not being used at all so I removed it and its usage from the function. Signed-off-by: Kautuk Consul Signed-off-by: Jiri Kosina --- diff --git a/fs/namespace.c b/fs/namespace.c index b4febb2..9a1ddcd 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -352,9 +352,7 @@ int mnt_want_write(struct vfsmount *mnt) if (__mnt_is_readonly(mnt)) { mnt_dec_writers(mnt); ret = -EROFS; - goto out; } -out: preempt_enable(); return ret; }