]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: send: remove redundant assignments to variable ret
authorColin Ian King <colin.i.king@gmail.com>
Wed, 13 Nov 2024 13:00:12 +0000 (13:00 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:14 +0000 (14:53 +0100)
commitd0ad40d730ef30e51d3ec4e3b8c9b6691053354a
treefafb84f7bcbecf99fd2a704cf2c7abe31d445ff1
parent27602f1d1b6edfad7694b9979b86860e0bc00b36
btrfs: send: remove redundant assignments to variable ret

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>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c