diff options
| author | 2007-12-21 01:49:07 -0800 | |
|---|---|---|
| committer | 2008-01-28 14:59:57 -0800 | |
| commit | b790cedd24a7f7d1639072b3faf35f1f56cb38ea (patch) | |
| tree | b39d755577be2cc822b5340ba5e4d77a45a6b4a7 /include/linux/string.h | |
| parent | [TCP]: Convert several length variable to unsigned. (diff) | |
[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 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
