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

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
...@@ -491,10 +491,9 @@ static int iser_create_ib_conn_res(struct iser_conn *ib_conn) ...@@ -491,10 +491,9 @@ static int iser_create_ib_conn_res(struct iser_conn *ib_conn)
} }
/** /**
* releases the QP objects, returns 0 on success, * releases the QP object
* -1 on failure
*/ */
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; int cq_index;
BUG_ON(ib_conn == NULL); BUG_ON(ib_conn == NULL);
...@@ -513,8 +512,6 @@ static int iser_free_ib_conn_res(struct iser_conn *ib_conn) ...@@ -513,8 +512,6 @@ static int iser_free_ib_conn_res(struct iser_conn *ib_conn)
} }
ib_conn->qp = NULL; ib_conn->qp = NULL;
return 0;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment