Re: [PATCH] btrfs:free-space-cache: remove unneeded NULL check before kfree

From: David Sterba
Date: Wed Aug 15 2018 - 07:51:51 EST


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@xxxxxxxxxx>

Added to misc-next, thanks.