lkml.org 
[lkml]   [2018]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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>

Added to misc-next, thanks.

\
 
 \ /
  Last update: 2018-08-15 13:52    [W:0.712 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site