use is_power_of_2() in cxgb3/cxgb3_main.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)
commitd9da466a3ce2ac005e05bb649a0f2cfb5c3d5d45
tree9707bfd17267f1c478196fabcb140c9fcf17f010
parentde0d3dc0e8ecd80f602fac03feb8fd53d0c17a8c
use is_power_of_2() in cxgb3/cxgb3_main.c

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

Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cxgb3/cxgb3_main.c