Re: [PATCH] btrfs:free-space-cache: remove unneeded NULL check before kfree
On Mon, Aug 13, 2018 at 02:06:08PM +0800, zhong jiang wrote: > Kfree has taken the null pointer into account. So remove the check > before kfree. > > The issue is detected with the help of Coccinelle. > > Signed-off-by: zhong jiang <zhongjiang@huawei.com>