Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fba02e6c authored by Leon Romanovsky's avatar Leon Romanovsky Committed by Doug Ledford
Browse files

RDMA/mlx4: Don't use uninitialized variable



Avoid usage of uninitialized variable.

Fixes: 3078f5f1 ("IB/mlx4: Add support for RSS QP")
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 89caa053
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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];