diff --git a/[refs] b/[refs] index 8f52449e57ec..abae044332c5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 531f67bb9ff4069b629762dd5a560e23fc4c5478 +refs/heads/master: 53985a7bfa7b947c91f35c6adcdc9cacc6fef07f diff --git a/trunk/tools/perf/util/sort.c b/trunk/tools/perf/util/sort.c index cfd1c0feb32d..dbaded90312c 100644 --- a/trunk/tools/perf/util/sort.c +++ b/trunk/tools/perf/util/sort.c @@ -143,10 +143,8 @@ static int64_t _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r, if (sym_l == sym_r) return 0; - if (sym_l) - ip_l = sym_l->start; - if (sym_r) - ip_r = sym_r->start; + ip_l = sym_l->start; + ip_r = sym_r->start; return (int64_t)(ip_r - ip_l); }