2022-04-12 07:34:14

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH] btrfs: remove unnecessary conditional

On Mon, Apr 11, 2022 at 03:22:52AM +0000, [email protected] wrote:
> From: Lv Ruyi <[email protected]>
>
> iput() has already handled null and non-null parameter, so it is no
> need to use if().
>
> Reported-by: Zeal Robot <[email protected]>
> Signed-off-by: Lv Ruyi <[email protected]>

Thanks, I've applied this version.