]> git.karo-electronics.de Git - linux-beck.git/commit
ibmveth: Remove integer divide caused by modulus
authorSantiago Leon <santil@linux.vnet.ibm.com>
Fri, 3 Sep 2010 18:28:04 +0000 (18:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 01:20:32 +0000 (18:20 -0700)
commita613f581489aff23189c4945aec9567f6663b0c6
tree76a06cf3d63f85770a8afd9c56beecd57cb48843
parenta5d31e0faf025ca8f64b85fc6938b702105725b7
ibmveth: Remove integer divide caused by modulus

Replace some modulus operators with an increment and compare to avoid
an integer divide.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Santiago Leon <santil@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ibmveth.c