Re: [PATCH 1/1] fs: btrfs: simplify close_ctree_fs_info()
From: Tom Rini <hidden>
Date: 2021-01-21 00:26:08
Also in:
u-boot
Attachments
- signature.asc [application/pgp-signature] 659 bytes
From: Tom Rini <hidden>
Date: 2021-01-21 00:26:08
Also in:
u-boot
On Fri, Dec 25, 2020 at 01:45:25PM +0100, Heinrich Schuchardt wrote:
At the beginning of close_ctree_fs_info() the value 0 is assigned to err
and never changed before testing it.
Let's get rid of the superfluous variable.
Fixes: f06bfcf54d0e ("fs: btrfs: Crossport open_ctree_fs_info() from btrfs-progs")
Signed-off-by: Heinrich Schuchardt <redacted>
Reviewed-by: Qu Wenruo <redacted>Applied to u-boot/master, thanks! -- Tom