Skip to content
Commit 8fc54f68 authored by Daniel Borkmann's avatar Daniel Borkmann Committed by David S. Miller
Browse files

net: use reciprocal_scale() helper



Replace open codings of (((u64) <x> * <y>) >> 32) with reciprocal_scale().

Signed-off-by: default avatarDaniel Borkmann <dborkman@redhat.com>
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 690e36e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment