Skip to content
Commit 5a37b288 authored by Yu Liao's avatar Yu Liao Committed by Saeed Mahameed
Browse files

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: default avatarYu Liao <liaoyu15@huawei.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Reviewed-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 68e81110
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment