Re: [PATCH v2] octeontx2-pf: mcs: Remove dead code and semi-colon from rsrc_name()
From: patchwork-bot+netdevbpf
Date: Mon Jan 06 2025 - 20:00:27 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sat, 4 Jan 2025 22:49:15 +0530 you wrote:
> Every case in the switch-block ends with return statement, and the
> default: branch handles the cases where rsrc_type is invalid and
> returns "Unknown", this makes the return statement at the end of the
> function unreachable and redundant.
> The semi-colon is not required after the switch-block's curly braces.
>
> Remove the semi-colon after the switch-block's curly braces and the
> return statement at the end of the function.
>
> [...]
Here is the summary with links:
- [v2] octeontx2-pf: mcs: Remove dead code and semi-colon from rsrc_name()
https://git.kernel.org/netdev/net-next/c/49afc040f4d7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html