[lkml]   [2015]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] fs: btrfs: free-space-cache.c: remove two unnecessary checks before calling kfree()
2015-02-11 12:30 GMT+01:00 SF Markus Elfring <>:
>> kfree checks whether the pointer it is passed is NULL. The two foregoing
>> checks are therefore unnecessary.
>> This issue was detected using Coccinelle.
> Would you like to integrate my update suggestion "btrfs: Deletion of
> unnecessary checks before six function calls"?

Oh, I see you already made the exact same change.
I'll just drop my patch in that case.

> Regards,
> Markus

 \ /
  Last update: 2015-02-11 13:01    [W:0.053 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site