diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-18 23:14:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-21 16:17:08 -0700 |
commit | baa2d2b17ee93e2a5b8accc2dd5328db17caf90e (patch) | |
tree | 5d036e8590e4f34beec541878c16fbd92cf4ea91 /net/tipc/link.c | |
parent | Merge branch 'tcp-improve-setsockopt-TCP_USER_TIMEOUT-accuracy' (diff) | |
download | linux-dev-baa2d2b17ee93e2a5b8accc2dd5328db17caf90e.tar.xz linux-dev-baa2d2b17ee93e2a5b8accc2dd5328db17caf90e.zip |
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 'net/tipc/link.c')
0 files changed, 0 insertions, 0 deletions