Re: [PATCH] staging: rtl8723bs: remove null test before kfree

2017-04-10 Thread Larry Finger
On 04/10/2017 08:43 AM, Aishwarya Pant wrote: kfree(..) on a NULL pointer is a no-op; the null test here is redundant. Detected by coccicheck. Signed-off-by: Aishwarya Pant Acked-by: Larry Finger Thanks, Larry ---

[PATCH] staging: rtl8723bs: remove null test before kfree

2017-04-10 Thread Aishwarya Pant
kfree(..) on a NULL pointer is a no-op; the null test here is redundant. Detected by coccicheck. Signed-off-by: Aishwarya Pant --- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 6 ++ drivers/staging/rtl8723bs/hal/sdio_ops.c | 6 ++