From 898d75f4aa8b1aeb99df8fe275cb3fcfa3dc0688 Mon Sep 17 00:00:00 2001 From: Alex Elder Date: Tue, 24 May 2016 13:34:52 -0500 Subject: [PATCH] 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 --- drivers/staging/greybus/svc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c index 78cc0e3..2b3b8d9 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; -- 2.7.4