greybus: core: remove unnecessary braces
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
219871e252
commit
3dc05f1871
@ -181,9 +181,8 @@ static void gb_remove_modules(struct greybus_host_device *hd)
|
||||
{
|
||||
struct gb_module *gmod, *temp;
|
||||
|
||||
list_for_each_entry_safe(gmod, temp, &hd->modules, links) {
|
||||
list_for_each_entry_safe(gmod, temp, &hd->modules, links)
|
||||
gb_module_destroy(gmod);
|
||||
}
|
||||
}
|
||||
|
||||
static DEFINE_MUTEX(hd_mutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user