Re: [PATCH] net/tun: use reciprocal_scale
From: Jason Wang
Date: Sun Jan 28 2024 - 22:01:51 EST
On Fri, Jan 26, 2024 at 8:26 AM Stephen Hemminger
<stephen@xxxxxxxxxxxxxxxxxx> 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>
Acked-by: Jason Wang <jasowang@xxxxxxxxxx>
Thanks