Re: [PATCH] fs: btrfs: free-space-cache.c: remove two unnecessary checks before calling kfree()

From: Bas Peters
Date: Wed Feb 11 2015 - 06:49:32 EST

2015-02-11 12:30 GMT+01:00 SF Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>:
>> 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
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