[Cluster-devel] [PATCH] fs: dlm: lockspace.c: removal of unnecessary check before calling kfree()

Bas Peters baspeters93 at gmail.com
Wed Feb 11 12:12:57 UTC 2015


2015-02-11 13:10 GMT+01:00 SF Markus Elfring <elfring at 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
>




More information about the Cluster-devel mailing list