Re: [PATCH] Btrfs: remove redundant judgment

From: David Sterba
Date: Wed Apr 06 2022 - 11:47:34 EST


On Wed, Apr 06, 2022 at 09:04:04AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
>
> iput() has already handled null and non-null parameter. so there is no
> need to use if().

Ok, we can drop the check, have you looked if there are more similar
places to update?