From: Alex Elder Date: Tue, 24 May 2016 18:34:52 +0000 (-0500) Subject: greybus: drop a bogus semicolon X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~330 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=898d75f4aa8b1aeb99df8fe275cb3fcfa3dc0688;p=karo-tx-linux.git greybus: drop a bogus semicolon 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 Reviewed-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c index 78cc0e38828d..2b3b8d98053c 100644 --- a/drivers/staging/greybus/svc.c +++ b/drivers/staging/greybus/svc.c @@ -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;