perf symbols: Remove needless checks for map->groups->machine
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 1 Nov 2019 21:34:44 +0000 (18:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Nov 2019 11:30:18 +0000 (08:30 -0300)
commitb0c76fc4cfd96ae859cc50afe5deb523276f75ae
treebcf681507bf951eeaa6bea551219a7cc6a607f15
parent1dc925568f015edfdbb89e20ad41755bb70538b9
perf symbols: Remove needless checks for map->groups->machine

Its sufficient to check if map->groups is NULL before using it to get
->machine value.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-utiepyiv8b1tf8f79ok9d6j8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol.c