phonet: use for_each_set_bit()
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 11 Mar 2010 12:07:49 +0000 (12:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2010 23:00:47 +0000 (16:00 -0700)
commita1ca14ac54675d3bf48d442b5a7b9eba133f1888
tree4c140c289bf166b99f716cc685a34097520681d0
parentf28f9e43b3d81d1e69da0ebf77c8a6780cb5e0c8
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: RĂ©mi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/phonet/pn_dev.c
net/phonet/pn_netlink.c