Re: [PATCH] btrfs: remove unnecessary conditional
From: David Sterba
Date: Mon Apr 11 2022 - 10:04:54 EST
On Mon, Apr 11, 2022 at 03:22:52AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
>
> iput() has already handled null and non-null parameter, so it is no
> need to use if().
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
Thanks, I've applied this version.