Re: [PATCH] btrfs: remove the useless value assignment in block_rsv_release_bytes

From: David Sterba
Date: Mon Nov 16 2020 - 10:17:20 EST


On Sun, Nov 15, 2020 at 02:39:23PM +0800, xiakaixu1987@xxxxxxxxx wrote:
> From: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
>
> The variable qgroup_to_release is overwritten by the following if/else
> statement before it is used, so this assignment is useless. Remove it.

Again this lacks explanation why removing it is correct.