diff options
| author | Stephen Hemminger <[email protected]> | 2024-01-25 16:25:11 -0800 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-01-30 12:02:32 +0100 |
| commit | 3f3ebe53620818f6e9b029850cb47b96a4ac5b3b (patch) | |
| tree | c0f1ff282d3068a586ac73525e2d42aae5688590 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | e8166eb24692ddac08ed3a401d3d09e9b4443642 (diff) | |
net/tun: use reciprocal_scale
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 <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Acked-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions