Skip to contentSkip to conversation

mlx4: remove unneeded code

PATCH New Eli Cohen 1 participant 1 message Oct 11, 2009

Subsystems (2)
lore
Share & tools
lore

Eli Cohen

author
#0 lore raw

PATCH 1/1 mlx4: remove unneeded code

There is no such flag DE - the field is reserved and should be zero.

---
 drivers/infiniband/hw/mlx4/qp.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/infiniband/hw/mlx4/qp.c +0 -1
index cde2bdc..d4ffff9 100644
@@ -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