diff options
author | 2017-12-18 17:47:07 +0000 | |
---|---|---|
committer | 2017-12-19 01:26:04 +0100 | |
commit | fa2d41adb953235c4acaa98f6c980fd9eabe0062 (patch) | |
tree | 8c8195e18ea84f249167f4d4512fce3cf95680a7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: fix spelling mistake: "funcation"-> "function" (diff) | |
download | linux-dev-fa2d41adb953235c4acaa98f6c980fd9eabe0062.tar.xz linux-dev-fa2d41adb953235c4acaa98f6c980fd9eabe0062.zip |
bpf: make function skip_callee static and return NULL rather than 0
Function skip_callee is local to the source and does not need to
be in global scope, so make it static. Also return NULL rather than 0.
Cleans up two sparse warnings:
symbol 'skip_callee' was not declared. Should it be static?
Using plain integer as NULL pointer
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions