mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
IB/mlx5: Remove a set-but-not-used variable
References: commit 5fe9dec0d0
("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>
This commit is contained in:
parent
f6b1ee349d
commit
3d1f236dcc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user