summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-07-19 07:14:17 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-22 02:17:08 +0300
commitbaa2d2b17ee93e2a5b8accc2dd5328db17caf90e (patch)
tree5d036e8590e4f34beec541878c16fbd92cf4ea91 /tools/perf/scripts/python/stackcollapse.py
parentd1afdc51399c53791ad9affbef67ba3aa206c379 (diff)
downloadlinux-baa2d2b17ee93e2a5b8accc2dd5328db17caf90e.tar.xz
net: sched: use PTR_ERR_OR_ZERO macro in tcf_block_cb_register
This line makes up what macro PTR_ERR_OR_ZERO already does. So, make use of PTR_ERR_OR_ZERO rather than an open-code version. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions