From: Eric Dumazet Date: Fri, 21 Dec 2007 09:49:07 +0000 (-0800) Subject: [INET]: Avoid an integer divide in rt_garbage_collect() X-Git-Tag: v2.6.25-rc1~1162^2~929 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b790cedd24a7f7d1639072b3faf35f1f56cb38ea;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed