diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-07-31 13:27:48 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-08-01 15:10:04 -0700 |
commit | f1a8bf0983207bebebd13c0507cb341fbffc5ed7 (patch) | |
tree | aa45d9ccb7a57d2ca4ebd3d30502d6e27751cd0c /drivers/infiniband | |
parent | 0a6907588a8b9bf1aa9ee84b809a1d49caea594a (diff) | |
download | op-kernel-dev-f1a8bf0983207bebebd13c0507cb341fbffc5ed7.zip op-kernel-dev-f1a8bf0983207bebebd13c0507cb341fbffc5ed7.tar.gz |
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/iser/iser_verbs.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/infiniband/ulp/iser/iser_verbs.c b/drivers/infiniband/ulp/iser/iser_verbs.c index fffb4ac..a5372c6 100644 --- a/drivers/infiniband/ulp/iser/iser_verbs.c +++ b/drivers/infiniband/ulp/iser/iser_verbs.c @@ -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; } /** |