From: Viresh Kumar Date: Fri, 14 Nov 2014 11:54:58 +0000 (+0530) Subject: greybus: core: remove unnecessary braces X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3dc05f187185cb5795054b1a7f490fe695c779fe;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git greybus: core: remove unnecessary braces Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index 7428206a32a0..0f4a18b4b002 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -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);