[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168225421744.16046.7230758740526095778.git-patchwork-notify@kernel.org>
Date: Sun, 23 Apr 2023 12:50:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Wang Zhang <silver_code@...t.edu.cn>
Cc: nbd@....name, john@...ozen.org, sean.wang@...iatek.com,
Mark-MC.Lee@...iatek.com, lorenzo@...nel.org, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
matthias.bgg@...il.com, angelogioacchino.delregno@...labora.com,
hust-os-kernel-patches@...glegroups.com, dzm91@...t.edu.cn,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH] net: ethernet: mediatek: remove return value check of
`mtk_wed_hw_add_debugfs`
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Fri, 21 Apr 2023 23:10:09 +0800 you wrote:
> Smatch complains that:
> mtk_wed_hw_add_debugfs() warn: 'dir' is an error pointer or valid
>
> Debugfs checks are generally not supposed to be checked
> for errors and it is not necessary here.
>
> fix it by just deleting the dead code.
>
> [...]
Here is the summary with links:
- net: ethernet: mediatek: remove return value check of `mtk_wed_hw_add_debugfs`
https://git.kernel.org/netdev/net/c/b148b9abc844
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