From: Giuseppe Scrivano <gscrivano@gnu.org>
To: linux-fsdevel@vger.kernel.org
Cc: eparis@parisplace.org
Subject: [PATCH] Remove superfluous error check
Date: Tue, 08 Sep 2009 23:49:24 +0200 [thread overview]
Message-ID: <87k5092jkr.fsf@master.homenet> (raw)
>From 0be5c84f21c8b163ed81b7e38f87e8d7a807b975 Mon Sep 17 00:00:00 2001
From: Giuseppe Scrivano <gscrivano@gnu.org>
Date: Tue, 8 Sep 2009 23:40:03 +0200
Subject: [PATCH] Remove superfluous return code check
---
fs/notify/inotify/inotify_user.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
index dcd2040..d8135e5 100644
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -747,8 +747,6 @@ SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname,
/* create/update an inode mark */
ret = inotify_update_watch(group, inode, mask);
- if (unlikely(ret))
- goto path_put_and_out;
path_put_and_out:
path_put(&path);
--
1.6.3.3
next reply other threads:[~2009-09-08 21:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-08 21:49 Giuseppe Scrivano [this message]
2009-09-10 13:25 ` [PATCH] Remove superfluous error check Eric Paris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k5092jkr.fsf@master.homenet \
--to=gscrivano@gnu.org \
--cc=eparis@parisplace.org \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.