From: David Sterba <dsterba@suse.cz>
To: Colin Ian King <colin.i.king@gmail.com>
Cc: Chris Mason <clm@fb.com>, Josef Bacik <josef@toxicpanda.com>,
David Sterba <dsterba@suse.com>,
linux-btrfs@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH][next] btrfs: send: remove redundant assignments to variable ret
Date: Tue, 26 Nov 2024 16:44:17 +0100 [thread overview]
Message-ID: <20241126154417.GH31418@twin.jikos.cz> (raw)
In-Reply-To: <20241113130012.1370782-1-colin.i.king@gmail.com>
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@gmail.com>
Added to for-next, thanks.
prev parent reply other threads:[~2024-11-26 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 13:00 Colin Ian King
2024-11-26 15:44 ` David Sterba [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241126154417.GH31418@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=clm@fb.com \
--cc=colin.i.king@gmail.com \
--cc=dsterba@suse.com \
--cc=josef@toxicpanda.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®