From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Paris Subject: Re: [PATCH] Remove superfluous error check Date: Thu, 10 Sep 2009 09:25:24 -0400 Message-ID: <7e0fb38c0909100625x6fd664c1w919aae766e388b39@mail.gmail.com> References: <87k5092jkr.fsf@master.homenet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-fsdevel@vger.kernel.org To: Giuseppe Scrivano Return-path: Received: from mail-vw0-f195.google.com ([209.85.212.195]:44025 "EHLO mail-vw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755565AbZIJNZV convert rfc822-to-8bit (ORCPT ); Thu, 10 Sep 2009 09:25:21 -0400 Received: by vws33 with SMTP id 33so56500vws.33 for ; Thu, 10 Sep 2009 06:25:24 -0700 (PDT) In-Reply-To: <87k5092jkr.fsf@master.homenet> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Sep 8, 2009 at 5:49 PM, Giuseppe Scrivano w= rote: > From 0be5c84f21c8b163ed81b7e38f87e8d7a807b975 Mon Sep 17 00:00:00 200= 1 > From: Giuseppe Scrivano > Date: Tue, 8 Sep 2009 23:40:03 +0200 > Subject: [PATCH] Remove superfluous return code check Thanks, I'll add it to my -next tree. -Eric > --- > =A0fs/notify/inotify/inotify_user.c | =A0 =A02 -- > =A01 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/ino= tify_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, > > =A0 =A0 =A0 =A0/* create/update an inode mark */ > =A0 =A0 =A0 =A0ret =3D inotify_update_watch(group, inode, mask); > - =A0 =A0 =A0 if (unlikely(ret)) > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 goto path_put_and_out; > > =A0path_put_and_out: > =A0 =A0 =A0 =A0path_put(&path); > -- > 1.6.3.3 > > > -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html