perf evlist: Remove trailing semicolon
PATCH 1/1 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]>
---
Hi,
After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0].
Best regards
Luis
[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html
tools/perf/util/evlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/evlist.c +1 -1
@@ -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 : {
Signature · 1 line
2.15.1
tip-bot for Luis de Bethencourt
merge botperf evlist: Remove trailing semicolon
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]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/evlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/evlist.c +1 -1
@@ -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 : {