projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6b1ee3
)
IB/mlx5: Remove a set-but-not-used variable
author
Bart Van Assche
<bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:49:08 +0000
(10:49 -0700)
committer
Doug Ledford
<dledford@redhat.com>
Sun, 15 Oct 2017 00:47:06 +0000
(20:47 -0400)
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>
drivers/infiniband/hw/mlx5/qp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx5/qp.c
b/drivers/infiniband/hw/mlx5/qp.c
index b0b09febafda6a275fb305c22c12fa685ecb8b93..37a0976240fdabed9b46aac3753a40a09ce90355 100644
(file)
--- 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;