perf tools: remove redundant checks from _sort__sym_cmp
authorSasha Levin <sasha.levin@oracle.com>
Thu, 20 Dec 2012 19:11:20 +0000 (14:11 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:14 +0000 (16:40 -0300)
commit53985a7bfa7b947c91f35c6adcdc9cacc6fef07f
tree9935092a260dd6fff198d98143243ca4ea4523d0
parent531f67bb9ff4069b629762dd5a560e23fc4c5478
perf tools: remove redundant checks from _sort__sym_cmp

We already check that sym_l and sum_r are non-NULLs, no need to do it
twice.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@redhat.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/1356030701-16284-12-git-send-email-sasha.levin@oracle.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c