Re: [PATCH] drivers: nfc: nfcsim: remove return value check of `dev_dir`

From: patchwork-bot+netdevbpf
Date: Mon Apr 24 2023 - 21:20:26 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 24 Apr 2023 10:41:40 +0800 you wrote:
> Smatch complains that:
> nfcsim_debugfs_init_dev() warn: 'dev_dir' is an error pointer or valid
>
> According to the documentation of the debugfs_create_dir() function,
> there is no need to check the return value of this function.
> Just delete the dead code.
>
> [...]

Here is the summary with links:
- drivers: nfc: nfcsim: remove return value check of `dev_dir`
https://git.kernel.org/netdev/net-next/c/e515c330d7e2

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html