diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2018-03-17 02:31:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-17 20:15:13 -0400 |
commit | 380e29a6b71fac7ce7a437ab2f7e305c3de8076f (patch) | |
tree | 78e28fde06bede1084b7dc8efbd7c632ca4902fc /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | fe2d55d295cf70d5b1f1f1217cfa771bf5eb3f7f (diff) |
selftests: pmtu: Reverse return codes of functions
David suggests it's more intuitive to return non-zero on
failures, and zero on success.
No need to introduce tail 'return 0' in functions, they will
return the exit code of the last command anyway.
Suggested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions