Re: [PATCH] staging: ccree: Fix unnecessary NULL check before kfree'ing it

2017-07-27 Thread Gilad Ben-Yossef
Hi, On Thu, Jul 20, 2017 at 4:37 PM, wrote: > From: Suniel Mahesh > > kfree(NULL) is safe and their is no need for a NULL check. Pointed out > by checkpatch. > > Signed-off-by: Suniel Mahesh > --- > Note: > - Patch was compile

[PATCH] staging: ccree: Fix unnecessary NULL check before kfree'ing it

2017-07-20 Thread sunil . m
From: Suniel Mahesh kfree(NULL) is safe and their is no need for a NULL check. Pointed out by checkpatch. Signed-off-by: Suniel Mahesh --- Note: - Patch was compile tested and built(ARCH=arm) on next-20170719. No build issues reported. ---