Re: [PATCH] net/tun: use reciprocal_scale

From: patchwork-bot+netdevbpf
Date: Tue Jan 30 2024 - 06:11:10 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Thu, 25 Jan 2024 16:25:11 -0800 you wrote:
> Use the inline function reciprocal_scale rather than open coding
> the scale optimization. Also, remove unnecessary initializations.
> Resulting compiled code is unchanged (according to godbolt).
>
> Signed-off-by: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>
> ---
> drivers/net/tun.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)

Here is the summary with links:
- net/tun: use reciprocal_scale
https://git.kernel.org/netdev/net-next/c/3f3ebe536208

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