[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090626224054.162F8425A8@magilla.sf.frob.com>
Date: Fri, 26 Jun 2009 15:40:54 -0700 (PDT)
From: Roland McGrath <roland@...hat.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Neil Horman <nhorman@...driver.com>,
linux-kernel@...r.kernel.org, earl_chew@...lent.com,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Andi Kleen <andi@...stfloor.org>
Subject: Re: [PATCH 1/2] do_coredump: factor out put_cred() calls
> if (!binfmt || !binfmt->core_dump)
> - goto fail;
> + goto out;
[...]
> +out:
> return;
> }
If the label does nothing, just use "return" instead of goto.
Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists