summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2024-01-26 03:25:11 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-01-30 14:02:32 +0300
commit3f3ebe53620818f6e9b029850cb47b96a4ac5b3b (patch)
treec0f1ff282d3068a586ac73525e2d42aae5688590 /tools/perf/scripts/python/export-to-sqlite.py
parente8166eb24692ddac08ed3a401d3d09e9b4443642 (diff)
downloadlinux-3f3ebe53620818f6e9b029850cb47b96a4ac5b3b.tar.xz
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 <stephen@networkplumber.org> Reviewed-by: Willem de Bruijn <willemb@google.com> Acked-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20240126002550.169608-1-stephen@networkplumber.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions