IB/iser: Remove redundant return code in iser_free_ib_conn_res()
Make it void. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
parent
0a6907588a
commit
f1a8bf0983
|
@ -491,10 +491,9 @@ out_err:
|
|||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue