diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-07-19 14:35:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-21 00:46:00 +0300 |
commit | 44fafdaa757cf251aade6c071f772ddb4e8a9885 (patch) | |
tree | 6660281d3b85f404a0ac6d62d9520bd0d9ba5381 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9a7bae8a12140c164082100a917ed5f856afccfc (diff) | |
download | linux-44fafdaa757cf251aade6c071f772ddb4e8a9885.tar.xz |
net/mlx5: Use PTR_ERR_OR_ZERO() to simplify the code
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions