[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250306082935.GH5777@twin.jikos.cz>
Date: Thu, 6 Mar 2025 09:29:35 +0100
From: David Sterba <dsterba@...e.cz>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Chris Mason <clm@...com>, Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] btrfs: return a literal instead of a variable
On Wed, Mar 05, 2025 at 06:01:57PM +0300, Dan Carpenter wrote:
> This is just a small clean up, it doesn't change how the code works.
> Originally this code had a goto so we needed to set "ret = 0;" but now
> it returns directly and so we can simplify it a bit by doing a
> "return 0;" and removing the assignment.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
Added to for-next, thanks.
Powered by blists - more mailing lists