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.
>
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.
>
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:
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:
4 matches
Mail list logo