RDMA/mlx4: Don't use uninitialized variable
Avoid usage of uninitialized variable.
Fixes: 3078f5f1bd
("IB/mlx4: Add support for RSS QP")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
89caa0538e
commit
fba02e6cb7
|
@ -2027,8 +2027,8 @@ static u8 gid_type_to_qpc(enum ib_gid_type gid_type)
|
|||
*/
|
||||
static int bringup_rss_rwqs(struct ib_rwq_ind_table *ind_tbl, u8 port_num)
|
||||
{
|
||||
int err = 0;
|
||||
int i;
|
||||
int err;
|
||||
|
||||
for (i = 0; i < (1 << ind_tbl->log_ind_tbl_size); i++) {
|
||||
struct ib_wq *ibwq = ind_tbl->ind_tbl[i];
|
||||
|
|
Loading…
Reference in a new issue