Commit-ID:  dd8bd53ab86133327412e74bf5ba31a8ec2826d4
Gitweb:     https://git.kernel.org/tip/dd8bd53ab86133327412e74bf5ba31a8ec2826d4
Author:     Luis de Bethencourt <[email protected]>
AuthorDate: Thu, 11 Jan 2018 15:50:20 +0000
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Fri, 12 Jan 2018 11:02:55 -0300

perf evlist: Remove trailing semicolon

The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.

Signed-off-by: Luis de Bethencourt <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
 tools/perf/util/evlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index f0a5e09..120efd8 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -1760,7 +1760,7 @@ void perf_evlist__toggle_bkw_mmap(struct perf_evlist 
*evlist,
        switch (old_state) {
        case BKW_MMAP_NOTREADY: {
                if (state != BKW_MMAP_RUNNING)
-                       goto state_err;;
+                       goto state_err;
                break;
        }
        case BKW_MMAP_RUNNING: {

Reply via email to