Re: [PATCH] platform/x86: intel_ips: Remove unnecessary NULL check before debugfs_remove_recursive

2018-12-05 Thread Andy Shevchenko
On Thu, Dec 6, 2018 at 3:09 AM Wen Yang wrote: > > debugfs_remove_recursive() accepts a NULL parameter and returns > immediately, there's no need for a NULL check in the caller. > > This issue was detected with the help of Coccinelle. > Thank you, similar patch is already in my queue. >

Re: [PATCH] platform/x86: intel_ips: Remove unnecessary NULL check before debugfs_remove_recursive

2018-12-05 Thread Andy Shevchenko
On Thu, Dec 6, 2018 at 3:09 AM Wen Yang wrote: > > debugfs_remove_recursive() accepts a NULL parameter and returns > immediately, there's no need for a NULL check in the caller. > > This issue was detected with the help of Coccinelle. > Thank you, similar patch is already in my queue. >

[PATCH] platform/x86: intel_ips: Remove unnecessary NULL check before debugfs_remove_recursive

2018-12-05 Thread Wen Yang
debugfs_remove_recursive() accepts a NULL parameter and returns immediately, there's no need for a NULL check in the caller. This issue was detected with the help of Coccinelle. Signed-off-by: Wen Yang CC: Darren Hart CC: Andy Shevchenko CC: platform-driver-...@vger.kernel.org CC:

[PATCH] platform/x86: intel_ips: Remove unnecessary NULL check before debugfs_remove_recursive

2018-12-05 Thread Wen Yang
debugfs_remove_recursive() accepts a NULL parameter and returns immediately, there's no need for a NULL check in the caller. This issue was detected with the help of Coccinelle. Signed-off-by: Wen Yang CC: Darren Hart CC: Andy Shevchenko CC: platform-driver-...@vger.kernel.org CC: