Re: [PATCH net-next v3] tg3: Remove residual error handling in tg3_suspend
From: patchwork-bot+netdevbpf
Date: Thu Apr 04 2024 - 04:50:38 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Mon, 1 Apr 2024 22:14:18 +0300 you wrote:
> As of now, tg3_power_down_prepare always ends with success, but
> the error handling code from former tg3_set_power_state call is still here.
>
> This code became unreachable in commit c866b7eac073 ("tg3: Do not use
> legacy PCI power management").
>
> Remove (now unreachable) error handling code for simplification and change
> tg3_power_down_prepare to a void function as its result is no more checked.
>
> [...]
Here is the summary with links:
- [net-next,v3] tg3: Remove residual error handling in tg3_suspend
https://git.kernel.org/netdev/net/c/9ab4ad295622
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html