Re: [PATCH net-next] net/smc: delete pointless divide by one
From: patchwork-bot+netdevbpf
Date: Sat Jan 11 2025 - 16:20:24 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 8 Jan 2025 12:26:06 +0300 you wrote:
> Here "buf" is a void pointer so sizeof(*buf) is one. Doing a divide
> by one makes the code less readable. Delete it.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
> net/smc/smc_core.c | 2 +-
> net/smc/smc_rx.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
- [net-next] net/smc: delete pointless divide by one
https://git.kernel.org/netdev/net-next/c/10bc9761d12e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html