Re: [PATCH RFC 07/12] RDMA/rtrs-srv: Remove outdated comments from create_con

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 13, 2022 at 2:08 AM Guoqing Jiang <guoqing.jiang@xxxxxxxxx> wrote:
>
> Remove the orphan comments.
>
> Signed-off-by: Guoqing Jiang <guoqing.jiang@xxxxxxxxx>
Acked-by: Md Haris Iqbal <haris.iqbal@xxxxxxxxx>

Thanks

> ---
>  drivers/infiniband/ulp/rtrs/rtrs-srv.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/drivers/infiniband/ulp/rtrs/rtrs-srv.c b/drivers/infiniband/ulp/rtrs/rtrs-srv.c
> index f3bf5bbb4377..4c883c57c2ef 100644
> --- 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);
> --
> 2.31.1
>



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux