projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5708e6
)
RDMA/rtrs-srv: Remove outdated comments from create_con
author
Guoqing Jiang
<guoqing.jiang@linux.dev>
Thu, 17 Nov 2022 10:19:42 +0000
(18:19 +0800)
committer
Leon Romanovsky
<leon@kernel.org>
Thu, 17 Nov 2022 11:47:28 +0000
(13:47 +0200)
Remove the orphan comments.
Acked-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link:
https://lore.kernel.org/r/20221117101945.6317-6-guoqing.jiang@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/ulp/rtrs/rtrs-srv.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/rtrs/rtrs-srv.c
b/drivers/infiniband/ulp/rtrs/rtrs-srv.c
index
581c850
..
d1703e2
100644
(file)
--- a/
drivers/infiniband/ulp/rtrs/rtrs-srv.c
+++ b/
drivers/infiniband/ulp/rtrs/rtrs-srv.c
@@
-1671,12
+1671,6
@@
static int create_con(struct rtrs_srv_path *srv_path,
srv->queue_depth * (1 + 2) + 1);
max_recv_wr = srv->queue_depth + 1;
- /*
- * If we have all receive requests posted and
- * all write requests posted and each read request
- * requires an invalidate request + drain
- * and qp gets into error state.
- */
}
cq_num = max_send_wr + max_recv_wr;
atomic_set(&con->c.sq_wr_avail, max_send_wr);