diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-06-22 16:10:52 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-06-22 16:10:52 +0300 |
commit | 61b3f66a3f99bb8a6a5145b1c2bd7eb98bf64748 (patch) | |
tree | 01c2fefe5b3c46c0ccee0afa098f0a8f0ff1b6fd /scripts/mod | |
parent | e1446551e60a7773c3acf3c55bb9449d70127882 (diff) | |
download | linux-61b3f66a3f99bb8a6a5145b1c2bd7eb98bf64748.tar.xz |
perf tests time-to-tsc: No need to disable an event before deleting it
Because at the destructor we will call close() and that will do the
disable. And we destructors can accept NULL, just like free(), so no
need to check it.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/n/tip-i98mcyfkkjh5qp62dle27ac1@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions