Re: [PATCH v2 2/2] RDMA/rxe: remove useless argument for update_state()

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

 



On Mon, Mar 7, 2022 at 10:51 PM Chengguang Xu <cgxu519@xxxxxxxxxxxx> wrote:
>
> The argument 'payload' is not used in update_state(),
> so just remove it.
>
> Signed-off-by: Chengguang Xu <cgxu519@xxxxxxxxxxxx>

Acked-by: Zhu Yanjun <zyjzyj2000@xxxxxxxxx>

Zhu Yanjun

> ---
>  drivers/infiniband/sw/rxe/rxe_req.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/infiniband/sw/rxe/rxe_req.c b/drivers/infiniband/sw/rxe/rxe_req.c
> index b28036a7a3b8..a3c78b4ac9f1 100644
> --- a/drivers/infiniband/sw/rxe/rxe_req.c
> +++ b/drivers/infiniband/sw/rxe/rxe_req.c
> @@ -540,7 +540,7 @@ static void rollback_state(struct rxe_send_wqe *wqe,
>  }
>
>  static void update_state(struct rxe_qp *qp, struct rxe_send_wqe *wqe,
> -                        struct rxe_pkt_info *pkt, u32 payload)
> +                        struct rxe_pkt_info *pkt)
>  {
>         qp->req.opcode = pkt->opcode;
>
> @@ -747,7 +747,7 @@ int rxe_requester(void *arg)
>                 goto err;
>         }
>
> -       update_state(qp, wqe, &pkt, payload);
> +       update_state(qp, wqe, &pkt);
>
>         goto next_wqe;
>
> --
> 2.27.0
>
>



[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