Re: [PATCH resent] staging: rtl8188eu: Deletion of unnecessary checks before three function calls

2014-10-31 Thread Julia Lawall
On Fri, 31 Oct 2014, SF Markus Elfring wrote: > >> The functions kfree(), rtw_free_netdev() and vfree() test whether their > >> argument is NULL and then return immediately. Thus the test around the call > >> is not needed. > >> > >> This issue was detected by using the Coccinelle software. > >> >

Re: [PATCH resent] staging: rtl8188eu: Deletion of unnecessary checks before three function calls

2014-10-31 Thread SF Markus Elfring
>> The functions kfree(), rtw_free_netdev() and vfree() test whether their >> argument is NULL and then return immediately. Thus the test around the call >> is not needed. >> >> This issue was detected by using the Coccinelle software. >> >> Signed-off-by: Markus Elfring >> --- >> drivers/staging

Re: [PATCH resent] staging: rtl8188eu: Deletion of unnecessary checks before three function calls

2014-10-31 Thread Julia Lawall
On Fri, 31 Oct 2014, SF Markus Elfring wrote: > The functions kfree(), rtw_free_netdev() and vfree() test whether their > argument is NULL and then return immediately. Thus the test around the call > is not needed. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Ma

[PATCH resent] staging: rtl8188eu: Deletion of unnecessary checks before three function calls

2014-10-31 Thread SF Markus Elfring
The functions kfree(), rtw_free_netdev() and vfree() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/staging/rtl8188eu/core/rtw_efuse