tracing/histogram: Fix semicolon.cocci warnings
authorkernel test robot <lkp@intel.com>
Sat, 30 Oct 2021 00:56:15 +0000 (08:56 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 30 Oct 2021 02:12:38 +0000 (22:12 -0400)
kernel/trace/trace_events_hist.c:6039:2-3: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Link: https://lkml.kernel.org/r/20211030005615.GA41257@3074f0d39c61
Fixes: c5eac6ee8bc5 ("tracing/histogram: Simplify handling of .sym-offset in expressions")
CC: Kalesh Singh <kaleshsingh@google.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_hist.c

index 452daad..682870d 100644 (file)
@@ -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))