summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-11-29 07:56:20 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-29 11:10:14 -0800
commit19bf62613a800ef4ffa26cbae6b723d9f46740ed (patch)
tree7a48396a78634310d66e156caf70a5ef61451ad5 /net/core/dev.c
parentdcc6abae0f473a67543ce651fbfb6b15452876f6 (diff)
tcp: remove loop to compute wscale
We can remove the loop and conditional branches and compute wscale efficiently thanks to ilog2() Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions