perf symbols: Remove unused variable 'err'
authorLeo Yan <leo.yan@linaro.org>
Thu, 30 May 2019 09:38:01 +0000 (17:38 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jun 2019 12:47:54 +0000 (09:47 -0300)
commite5f177a578edf4501d0758bfa922cd0b0f9d0e9d
tree3ede6462905d002522f2a2c21d9f87fbcf29c3d2
parent0da6ae94e4102fa145149dd0878b266c932507aa
perf symbols: Remove unused variable 'err'

Variable 'err' is defined but never used in function symsrc__init(),
remove it and directly return -1 at the end of the function.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190530093801.20510-1-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol-elf.c