diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index f0a5e09c40712b09e75a6329e967ae4253038e5f..120efd85f2c8c70b4c6f4e36c93548bdb619d5f2 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: {