diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-10-11 10:49:08 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-14 20:47:06 -0400 |
commit | 3d1f236dccd847fb6d083684a7105e0bd9d174fa (patch) | |
tree | a97e47dd96b4a54d7c4e7739ca57f1aae537d5b7 | |
parent | f6b1ee349db4ff1fcc12e2a078b24c4f83beed7e (diff) |
IB/mlx5: Remove a set-but-not-used variable
References: commit 5fe9dec0d045 ("IB/mlx5: Use blue flame register allocator in mlx5_ib")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | drivers/infiniband/hw/mlx5/qp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index b0b09febafda..37a0976240fd 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c @@ -3858,7 +3858,6 @@ int mlx5_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, unsigned long flags; unsigned idx; int err = 0; - int inl = 0; int num_sge; void *seg; int nreq; @@ -4117,7 +4116,6 @@ int mlx5_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr, *bad_wr = wr; goto out; } - inl = 1; size += sz; } else { dpseg = seg; |