diff options
author | Yu Liao <[email protected]> | 2023-10-12 12:27:44 -0700 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-10-14 10:16:32 -0700 |
commit | 5a37b2882418f086951e657dd1ed26e8842f84cd (patch) | |
tree | f2709d8a0e5f903c4e5f059e819caf6ebb37d0b9 /tools/perf/scripts/python | |
parent | 68e81110fbcfc0c9a655b4629b19fd21b6b16c47 (diff) |
net/mlx5e: Use PTR_ERR_OR_ZERO() to simplify code
Use the standard error pointer macro to shorten the code and simplify.
Signed-off-by: Yu Liao <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions