]> err.no Git - linux-2.6/commit
[NET]: is_power_of_2 in net/core/neighbour.c
authorvignesh babu <vignesh.babu@wipro.com>
Sat, 25 Aug 2007 05:27:55 +0000 (22:27 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 27 Aug 2007 01:35:37 +0000 (18:35 -0700)
commitc3609d510f844100669965db8a9ff10ba029bb4a
treefb86593f7310805bb6c70cf2b61f4e7b3731d7aa
parent26722873a460703e319462afa7ebb8ed3a036c07
[NET]: is_power_of_2 in net/core/neighbour.c

Replacing n & (n - 1) for power of 2 check by is_power_of_2(n)

Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c