Commit-ID:  dd8bd53ab86133327412e74bf5ba31a8ec2826d4
Gitweb:     https://git.kernel.org/tip/dd8bd53ab86133327412e74bf5ba31a8ec2826d4
Author:     Luis de Bethencourt <lui...@kernel.org>
AuthorDate: Thu, 11 Jan 2018 15:50:20 +0000
Committer:  Arnaldo Carvalho de Melo <a...@redhat.com>
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 <lui...@kernel.org>
Cc: Alexander Shishkin <alexander.shish...@linux.intel.com>
Cc: Jiri Olsa <jo...@redhat.com>
Cc: Joe Perches <j...@perches.com>
Cc: Namhyung Kim <namhy...@kernel.org>
Cc: Peter Zijlstra <pet...@infradead.org>
Link: http://lkml.kernel.org/r/20180111155020.9782-1-lui...@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
 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