diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-03-03 10:29:28 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-12 11:39:50 -0400 |
commit | 01fbc1fee926888f7c256ada95fa5fa3b06cba94 (patch) | |
tree | a1f1c00cf0ce7b569fede1e47ae581d24b09b00d /tools/perf/util/thread.c | |
parent | d704ebdae4aaeec89180dcfd0ca74e5bba318853 (diff) |
perf tools: Remove superfluous thread->comm_set setting
It is set by calling thread__set_comm right before the removed line.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1425396581-17716-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread.c')
-rw-r--r-- | tools/perf/util/thread.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c index a5dbba95107f..1c8fbc9588c5 100644 --- a/tools/perf/util/thread.c +++ b/tools/perf/util/thread.c | |||
@@ -206,7 +206,6 @@ int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp) | |||
206 | err = thread__set_comm(thread, comm, timestamp); | 206 | err = thread__set_comm(thread, comm, timestamp); |
207 | if (err) | 207 | if (err) |
208 | return err; | 208 | return err; |
209 | thread->comm_set = true; | ||
210 | } | 209 | } |
211 | 210 | ||
212 | thread->ppid = parent->tid; | 211 | thread->ppid = parent->tid; |