diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2007-12-21 06:48:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:59:41 +0100 |
commit | b92edbe0b8a36a833c16b0cbafb6e899b81ffc08 (patch) | |
tree | 0d5376e9835ebfa06eb9d7f78569c1f1aeb7a301 /net/mac80211/ieee80211.c | |
parent | [XFRM]: Assorted IPsec fixups (diff) | |
download | linux-b92edbe0b8a36a833c16b0cbafb6e899b81ffc08.tar.xz linux-b92edbe0b8a36a833c16b0cbafb6e899b81ffc08.zip |
[TCP] Avoid two divides in tcp_output.c
Because 'free_space' variable in __tcp_select_window() is signed,
expression (free_space / 2) forces compiler to emit an integer divide.
This can be changed to a plain right shift, less expensive.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211.c')
0 files changed, 0 insertions, 0 deletions