diff options
author | Jinjie Ruan <[email protected]> | 2023-10-12 12:27:43 -0700 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-10-14 10:16:31 -0700 |
commit | 68e81110fbcfc0c9a655b4629b19fd21b6b16c47 (patch) | |
tree | 238f0c2f5de24f321fa7efef357cc39d1a301b7d /tools/perf/scripts/python/syscall-counts.py | |
parent | 58cd34772a30d5cbe9fec7d199772149946a4032 (diff) |
net/mlx5: Use PTR_ERR_OR_ZERO() to simplify code
Return PTR_ERR_OR_ZERO() instead of return 0 or PTR_ERR() to
simplify code.
Signed-off-by: Jinjie Ruan <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions