]> err.no Git - linux-2.6/commit
Use is_power_of_2() in myri10ge/myri10ge.c
authorvignesh babu <vignesh.babu@wipro.com>
Mon, 9 Jul 2007 18:50:22 +0000 (11:50 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 10 Jul 2007 16:22:30 +0000 (12:22 -0400)
commit199126a23a091585670fba023529b73047bb2bad
tree9562967850cdf195b469023a5d0d929e530055e9
parentd9da466a3ce2ac005e05bb649a0f2cfb5c3d5d45
Use is_power_of_2() in myri10ge/myri10ge.c

Replace (n & (n-1)) with is_power_of_2()

Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Cc: Brice Goglin <brice@myri.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c