Re: [PATCH][next] ptp: fc3: remove redundant check on variable ret

From: patchwork-bot+netdevbpf
Date: Sun Nov 03 2024 - 16:01:03 EST


Hello:

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

On Thu, 31 Oct 2024 13:50:42 +0000 you wrote:
> The check on ret has already been performed a few statements earlier
> and ret has not been re-assigned and so the re-checking is redundant.
> Clean up the code by removing the redundant check.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
> ---
> drivers/ptp/ptp_fc3.c | 5 -----
> 1 file changed, 5 deletions(-)

Here is the summary with links:
- [next] ptp: fc3: remove redundant check on variable ret
https://git.kernel.org/netdev/net-next/c/5c87206cdb53

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