From 3dc05f187185cb5795054b1a7f490fe695c779fe Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Fri, 14 Nov 2014 17:24:58 +0530 Subject: [PATCH] greybus: core: remove unnecessary braces Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.20.1