aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/python/tracepoint.py
diff options
context:
space:
mode:
authorHaowen Bai <[email protected]>2022-03-28 09:55:32 +0800
committerArnaldo Carvalho de Melo <[email protected]>2022-04-01 16:19:35 -0300
commitf717d89a2b20dd9201a3ed798cff6b8f09c77e01 (patch)
treefcd0bc7a0ee3d5e506c7ee8823ca335d5f894341 /tools/perf/python/tracepoint.py
parentda0bfb9fdf1fef8d2329efb215abfd94ba262b49 (diff)
perf evlist: Directly return instead of using local ret variable
Addresses this coccinelle warning: ./tools/perf/util/evlist.c:1333:5-8: Unneeded variable: "err". Return "- ENOMEM" on line 1358 Signed-off-by: Haowen Bai <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Andrii Nakryiko <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Fastabend <[email protected]> Cc: KP Singh <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Martin KaFai Lau <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Song Liu <[email protected]> Cc: Yonghong Song <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/python/tracepoint.py')
0 files changed, 0 insertions, 0 deletions