phonet: use for_each_set_bit
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 27 Aug 2010 19:08:26 +0000 (19:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Aug 2010 22:37:04 +0000 (15:37 -0700)
commit6a499b242f7d1ebf13f5bc386e08e80603f79e2a
tree50383400eed30c6d5b6349f18d61af404de206aa
parente27cd4f8ca9dde7938f4f83ef75b6fae8d46dd5f
phonet: use for_each_set_bit

Replace open-coded loop with for_each_set_bit().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
net/phonet/pn_dev.c