Commit 3dc05f18 authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: core: remove unnecessary braces

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 219871e2
...@@ -181,9 +181,8 @@ static void gb_remove_modules(struct greybus_host_device *hd) ...@@ -181,9 +181,8 @@ static void gb_remove_modules(struct greybus_host_device *hd)
{ {
struct gb_module *gmod, *temp; 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); gb_module_destroy(gmod);
}
} }
static DEFINE_MUTEX(hd_mutex); static DEFINE_MUTEX(hd_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment