]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
greybus: drop a bogus semicolon
authorAlex Elder <elder@linaro.org>
Tue, 24 May 2016 18:34:52 +0000 (13:34 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 18:28:16 +0000 (11:28 -0700)
Coccinelle reports that gb_svc_pwrmon_debugfs_init() has a block of
a for loop which is followed by an unnecessary semicolon.  Get rid
of that semicolon.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c

index 78cc0e38828d5bfeb00b823cd2ea352bfbf81231..2b3b8d98053c41bfc5706ca9bc4824226b0efb5e 100644 (file)
@@ -779,7 +779,7 @@ static void gb_svc_pwrmon_debugfs_init(struct gb_svc *svc)
                                    &pwrmon_debugfs_current_fops);
                debugfs_create_file("power_now", S_IRUGO, dir, rail,
                                    &pwrmon_debugfs_power_fops);
-       };
+       }
 
        kfree(rail_names);
        return;