projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a69075
)
IB/iser: Remove redundant return code in iser_free_ib_conn_res()
author
Sagi Grimberg
<sagig@mellanox.com>
Thu, 31 Jul 2014 10:27:48 +0000
(13:27 +0300)
committer
Roland Dreier
<roland@purestorage.com>
Fri, 1 Aug 2014 22:10:04 +0000
(15:10 -0700)
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>
drivers/infiniband/ulp/iser/iser_verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/iser/iser_verbs.c
b/drivers/infiniband/ulp/iser/iser_verbs.c
index fffb4ac4c6acf4b274befd5173ab7fc16b4647e2..a5372c6cf9c63646c9e5848e1c3539027d50f6b0 100644
(file)
--- 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;
}
/**