From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kautuk Consul Subject: [PATCH 1/1] Trivial: mnt_want_write: Remove unused label out Date: Fri, 23 Sep 2011 22:08:29 +0530 Message-ID: <1316795909-3722-1-git-send-email-consul.kautuk@gmail.com> Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Kautuk Consul To: Alexander Viro , Jiri Kosina , jkosina@suse.cz Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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 --- fs/namespace.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index 22bfe82..2e906e9 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; } -- 1.7.4.1