diff options
author | Giuseppe Scrivano <gscrivano@gnu.org> | 2009-12-03 17:01:41 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-12-04 15:39:58 +0100 |
commit | 336e8683b9a8921049d0e6bb0ca5e18160828ec6 (patch) | |
tree | 53d921024a3cc62615cca5b5c54934ebfc70db7c /fs | |
parent | 870571a2ef6fb2d6306673b4376fec93d441e013 (diff) | |
download | kernel_samsung_espresso10-336e8683b9a8921049d0e6bb0ca5e18160828ec6.zip kernel_samsung_espresso10-336e8683b9a8921049d0e6bb0ca5e18160828ec6.tar.gz kernel_samsung_espresso10-336e8683b9a8921049d0e6bb0ca5e18160828ec6.tar.bz2 |
inotify: remove superfluous return code check
Signed-off-by: Giuseppe Scrivano <gscrivano@gnu.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/notify/inotify/inotify_user.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index dcd2040..499f5ed 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c @@ -747,10 +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); fput_and_out: fput_light(filp, fput_needed); |