mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
tools/latency-collector: Remove unneeded semicolon
Fix semicolon.cocci warning: tools/tracing/latency/latency-collector.c:1021:2-3: Unneeded semicolon Link: https://lkml.kernel.org/r/20210308022459.59881-1-vulab@iscas.ac.cn Reviewed-by: Viktor Rosendahl <Viktor.Rosendahl@bmw.de> Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
parent
2b7d2fe76f
commit
421d9d1bea
1 changed files with 2 additions and 2 deletions
|
|
@ -1018,7 +1018,7 @@ static long go_to_sleep(const struct entry *req)
|
||||||
cond_timedwait(&printstate.cond, &printstate.mutex, &future);
|
cond_timedwait(&printstate.cond, &printstate.mutex, &future);
|
||||||
if (time_has_passed(&future))
|
if (time_has_passed(&future))
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (printstate_has_new_req_arrived(req))
|
if (printstate_has_new_req_arrived(req))
|
||||||
delay = -1;
|
delay = -1;
|
||||||
|
|
@ -1941,7 +1941,7 @@ static void scan_arguments(int argc, char *argv[])
|
||||||
if (value < 0) {
|
if (value < 0) {
|
||||||
warnx("TIME must be >= 0\n");
|
warnx("TIME must be >= 0\n");
|
||||||
show_usage();
|
show_usage();
|
||||||
;
|
exit(0);
|
||||||
}
|
}
|
||||||
trace_enable = true;
|
trace_enable = true;
|
||||||
use_random_sleep = true;
|
use_random_sleep = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue