diff options
author | Eli Cohen <eli@mellanox.co.il> | 2009-11-12 14:14:13 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-11-12 14:14:13 -0500 |
commit | ecdc428e4c5d821a07baf4f8b1718faf67b9026f (patch) | |
tree | d73a18580a2cfeb0742a861951b27b4e5d3b8e3c /drivers/infiniband/hw/mlx4 | |
parent | 91d3f9bacdb4950d2f79fe2ba296aa249f60d06c (diff) |
IB/mlx4: Remove unneeded code
There is no such flag DE - the field is reserved and should be zero.
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4')
-rw-r--r-- | drivers/infiniband/hw/mlx4/qp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/qp.c b/drivers/infiniband/hw/mlx4/qp.c index 219b10397b4d..518d561970aa 100644 --- a/drivers/infiniband/hw/mlx4/qp.c +++ b/drivers/infiniband/hw/mlx4/qp.c | |||
@@ -897,7 +897,6 @@ static int __mlx4_ib_modify_qp(struct ib_qp *ibqp, | |||
897 | 897 | ||
898 | context->flags = cpu_to_be32((to_mlx4_state(new_state) << 28) | | 898 | context->flags = cpu_to_be32((to_mlx4_state(new_state) << 28) | |
899 | (to_mlx4_st(ibqp->qp_type) << 16)); | 899 | (to_mlx4_st(ibqp->qp_type) << 16)); |
900 | context->flags |= cpu_to_be32(1 << 8); /* DE? */ | ||
901 | 900 | ||
902 | if (!(attr_mask & IB_QP_PATH_MIG_STATE)) | 901 | if (!(attr_mask & IB_QP_PATH_MIG_STATE)) |
903 | context->flags |= cpu_to_be32(MLX4_QP_PM_MIGRATED << 11); | 902 | context->flags |= cpu_to_be32(MLX4_QP_PM_MIGRATED << 11); |