OSDN Git Service

net/mlx5: simplify the return expression of mlx5_ec_init()
authorQinglang Miao <miaoqinglang@huawei.com>
Mon, 21 Sep 2020 13:10:44 +0000 (21:10 +0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 23 Sep 2020 22:44:39 +0000 (15:44 -0700)
commitd490c83ef9e91cdad0788892bc2f1836161d4168
tree7801650dc2ae52ff864ba1ccdaf78eb6487d10d4
parente1915a67f64782baf752c7330c3a146b6113040d
net/mlx5: simplify the return expression of mlx5_ec_init()

Simplify the return expression.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/ecpf.c