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

From: SF Markus Elfring
Date: Wed Feb 11 2015 - 07:10:55 EST


> 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@xxxxxxxxxxxxxxx/msg778279.html

Regards,
Markus

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/