From: Eli Cohen Date: Thu, 2 Apr 2015 14:07:21 +0000 (+0300) Subject: net/mlx5_core: Coding style fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7bef7ad24b9aa15cb06870f78ba8bd84bb7e1407;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net/mlx5_core: Coding style fix Put a line of space before return and next statement. Signed-off-by: Eli Cohen Signed-off-by: David S. Miller --- diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index 2c0f142cd3ba..859c136911e0 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c @@ -1162,6 +1162,7 @@ static void destroy_qp_common(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp) in = kzalloc(sizeof(*in), GFP_KERNEL); if (!in) return; + if (qp->state != IB_QPS_RESET) { mlx5_ib_qp_disable_pagefaults(qp); if (mlx5_core_qp_modify(dev->mdev, to_mlx5_state(qp->state),