Re: [PATCH] net/tun: use reciprocal_scale

From: Willem de Bruijn
Date: Sat Jan 27 2024 - 11:06:35 EST


Stephen Hemminger 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>

Targeting net-next

Reviewed-by: Willem de Bruijn <willemb@xxxxxxxxxx>