infiniband: use for_each_set_bit()
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 5 Mar 2010 21:41:38 +0000 (13:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:23 +0000 (11:26 -0800)
commit19b629f581320999ddb9f6597051b79cdb53459c
tree2be48184b1ec83f61ae4ab8a4e160d79597a30a4
parent984b3f5746ed2cde3d184651dabf26980f2b66e5
infiniband: use for_each_set_bit()

Replace open-coded loop with for_each_set_bit().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Roland Dreier <rolandd@cisco.com>
Cc: Sean Hefty <sean.hefty@intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/infiniband/core/mad.c