[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241126154417.GH31418@twin.jikos.cz>
Date: Tue, 26 Nov 2024 16:44:17 +0100
From: David Sterba <dsterba@...e.cz>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Chris Mason <clm@...com>, Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>, linux-btrfs@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] btrfs: send: remove redundant assignments to
variable ret
On Wed, Nov 13, 2024 at 01:00:12PM +0000, Colin Ian King wrote:
> The variable ret is being initialized to zero and also later
> re-assigned to zero. In both cases the assignment is redundant
> since the value is never read after the assignment and hence
> they can be removed.
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
Added to for-next, thanks.
Powered by blists - more mailing lists