diff options
author | zhong jiang <zhongjiang@huawei.com> | 2019-09-03 14:56:10 +0800 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-09-05 14:44:41 -0700 |
commit | a2b7189be6b5dd697c333beb91f988dfc3ca87fb (patch) | |
tree | 101c43319e3c45a8d46ae5a7463950396c917442 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e53e665558eea32e76585c3d3a5786e7298045ad (diff) |
net/mlx5: Use PTR_ERR_OR_ZERO rather than its implementation
PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. It is better
to use it directly. hence just replace it.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions