commit | baa2d2b17ee93e2a5b8accc2dd5328db17caf90e | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Wed Jul 18 23:14:17 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 21 16:17:08 2018 -0700 |
tree | 5d036e8590e4f34beec541878c16fbd92cf4ea91 | |
parent | d1afdc51399c53791ad9affbef67ba3aa206c379 [diff] |
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>