lkml.org 
[lkml]   [2015]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] fs: dlm: lockspace.c: removal of unnecessary check before calling kfree()
From
2015-02-11 13:10 GMT+01:00 SF Markus Elfring <elfring@users.sourceforge.net>:
>> kfree() checks its argument. It is therefore unnecessary to do this twice.
>>
>> This issue was detected using Coccinelle.
>
> Would you like to integrate my update suggestion 'fs-DLM: Deletion of
> unnecessary checks before the function call "kfree"'?
> https://lkml.org/lkml/2014/11/29/88
> http://article.gmane.org/gmane.linux.kernel/1840524
> https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg778279.html

I'll drop that too :)

> Regards,
> Markus
>


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