[PATCH -next 2/2] ftrace: remove unneeded semicolon
From: Yang Li
Date: Fri Oct 29 2021 - 02:39:07 EST
Eliminate the following coccicheck warning:
./kernel/trace/trace_events_hist.c:6087:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
---
kernel/trace/trace_events_hist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c
index aa93e87..2012d4e 100644
--- a/kernel/trace/trace_events_hist.c
+++ b/kernel/trace/trace_events_hist.c
@@ -6084,7 +6084,7 @@ static int event_hist_trigger_func(struct event_command *cmd_ops,
while (start) {
*(start + 4) = 'X';
start = strstr(start + 11, ".sym-offset");
- };
+ }
attrs = parse_hist_trigger_attrs(file->tr, trigger);
if (IS_ERR(attrs))
--
1.8.3.1