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

From: Bas Peters
Date: Wed Feb 11 2015 - 07:13:04 EST

2015-02-11 13:10 GMT+01:00 SF Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>:
>> 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"'?

I'll drop that too :)

> 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
Please read the FAQ at