Revert "perf sched timehist: Fix missing free of session in perf_sched__timehist()"
This reverts commit c9c995bd56
.
This commit is contained in:
parent
fc0432803d
commit
e59ec4a510
1 changed files with 1 additions and 2 deletions
|
@ -3027,8 +3027,7 @@ static int perf_sched__timehist(struct perf_sched *sched)
|
|||
|
||||
if (perf_time__parse_str(&sched->ptime, sched->time_str) != 0) {
|
||||
pr_err("Invalid time string\n");
|
||||
err = -EINVAL;
|
||||
goto out;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (timehist_check_attr(sched, evlist) != 0)
|
||||
|
|
Loading…
Reference in a new issue