Kobject: kobject_uevent.c: Collapse unnecessary loop nesting (top_kobj)
authorJohn Anthony Kazos Jr <jakj@j-a-k-j.com>
Wed, 4 Apr 2007 11:39:17 +0000 (07:39 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 17:57:29 +0000 (10:57 -0700)
commit14193fb91a7d88d3fe55d3160892edeb2b02e0c2
treeea296da787836ffd0ac5c93879a8cc804cdb4a32
parentf89cbc399ecd924c4bd879344e662aace2274b4f
Kobject: kobject_uevent.c: Collapse unnecessary loop nesting (top_kobj)

Collapses a do..while() loop within an if() to a simple while() loop for
simplicity and readability.

Signed-off-by: John Anthony Kazos Jr. <jakj@j-a-k-j.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject_uevent.c