[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220406130453.GB15609@suse.cz>
Date: Wed, 6 Apr 2022 15:04:53 +0200
From: David Sterba <dsterba@...e.cz>
To: cgel.zte@...il.com
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org,
Lv Ruyi <lv.ruyi@....com.cn>, Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] Btrfs: remove redundant judgment
On Wed, Apr 06, 2022 at 09:04:04AM +0000, cgel.zte@...il.com wrote:
> From: Lv Ruyi <lv.ruyi@....com.cn>
>
> 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?
Powered by blists - more mailing lists