[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169240382182.13403.14021398893166146263.git-patchwork-notify@kernel.org>
Date: Sat, 19 Aug 2023 00:10:21 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ruan Jinjie <ruanjinjie@...wei.com>
Cc: netdev@...r.kernel.org, mlindner@...vell.com, stephen@...workplumber.org,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next] sky2: Remove redundant NULL check for
debugfs_create_dir
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 17 Aug 2023 15:30:17 +0800 you wrote:
> Since debugfs_create_dir() returns ERR_PTR, IS_ERR() is enough to
> check whether the directory is successfully created. So remove the
> redundant NULL check.
>
> Signed-off-by: Ruan Jinjie <ruanjinjie@...wei.com>
> ---
> drivers/net/ethernet/marvell/sky2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net-next] sky2: Remove redundant NULL check for debugfs_create_dir
https://git.kernel.org/netdev/net-next/c/ee09e9deefac
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists