mlx4: remove unneeded code
Subsystems (2)
PATCH 1/1 mlx4: remove unneeded code
There is no such flag DE - the field is reserved and should be zero.
Signed-off-by Eli Cohen <eli-VPRAkNaXOzVS1MOuV/[email protected]>
--- drivers/infiniband/hw/mlx4/qp.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/infiniband/hw/mlx4/qp.c +0 -1
@@ -899,7 +899,6 @@ static int __mlx4_ib_modify_qp(struct ib_qp *ibqp, context->flags =cpu_to_be32 ((to_mlx4_state (new_state) <<28 ) | (to_mlx4_st (ibqp->qp_type) <<16 )); - context->flags |=cpu_to_be32 (1 <<8 );/* DE? */ if (!(attr_mask &IB_QP_PATH_MIG_STATE )) context->flags |=cpu_to_be32 (MLX4_QP_PM_MIGRATED <<11 );
Signature · 6 lines
1.6.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html