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

Commit f1a8bf09 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Roland Dreier
Browse files

IB/iser: Remove redundant return code in iser_free_ib_conn_res()



Make it void.

Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>
Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 0a690758
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -491,10 +491,9 @@ static int iser_create_ib_conn_res(struct iser_conn *ib_conn)
}

/**
 * releases the QP objects, returns 0 on success,
 * -1 on failure
 * releases the QP object
 */
static int iser_free_ib_conn_res(struct iser_conn *ib_conn)
static void iser_free_ib_conn_res(struct iser_conn *ib_conn)
{
	int cq_index;
	BUG_ON(ib_conn == NULL);
@@ -513,8 +512,6 @@ static int iser_free_ib_conn_res(struct iser_conn *ib_conn)
	}

	ib_conn->qp	  = NULL;

	return 0;
}

/**