greybus: core: remove unnecessary braces
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 14 Nov 2014 11:54:58 +0000 (17:24 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 14 Nov 2014 21:32:27 +0000 (13:32 -0800)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/core.c

index 7428206..0f4a18b 100644 (file)
@@ -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);