Re: [PATCH] perf tools: remove redundant checks from _sort__sym_cmp

2012-12-21 Thread Namhyung Kim
On Thu, Dec 20, 2012 at 02:11:20PM -0500, Sasha Levin wrote: > We already check that sym_l and sum_r are non-NULLs, no need to > do it twice. > > Signed-off-by: Sasha Levin Acked-by: Namhyung Kim Thanks, Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH] perf tools: remove redundant checks from _sort__sym_cmp

2012-12-20 Thread Sasha Levin
We already check that sym_l and sum_r are non-NULLs, no need to do it twice. Signed-off-by: Sasha Levin --- tools/perf/util/sort.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index cfd1c0f..dbaded9 100644 --- a/tools/p