]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce445ff7d935ca2cd783d294adf8b7bf8704f238
tree4c140c289bf166b99f716cc685a34097520681d0
parent22d901f4d7d76048d0758a7232ef17ffa482e503
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