summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_minisocks.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2007-12-21 09:49:07 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-01-28 22:59:57 (GMT)
commitb790cedd24a7f7d1639072b3faf35f1f56cb38ea (patch)
treeb39d755577be2cc822b5340ba5e4d77a45a6b4a7 /net/ipv4/tcp_minisocks.c
parent9cb5734e5b9b26097c7fa28a9c6426a204cc15e3 (diff)
downloadlinux-b790cedd24a7f7d1639072b3faf35f1f56cb38ea.tar.xz
[INET]: Avoid an integer divide in rt_garbage_collect()
Since 'goal' is a signed int, compiler may emit an integer divide to compute goal/2. Using a right shift is OK here and less expensive. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
0 files changed, 0 insertions, 0 deletions