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 | |
parent | d1afdc51399c53791ad9affbef67ba3aa206c379 (diff) | |
download | linux-baa2d2b17ee93e2a5b8accc2dd5328db17caf90e.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions