Re: [PATCH rdma-next 2/2] RDMA/irdma: Remove unused post_sq arguments

From: Kalesh Anakkur Purayil

Date: Thu Sep 03 2026 - 12:58:56 EST




On Thu, Sep 3, 2026 at 5:11 PM Leon Romanovsky <leon@xxxxxxxxxx> wrote:
From: Leon Romanovsky <leonro@xxxxxxxxxx>

The only callers of irdma_sc_qp_flush_wqes() and
irdma_sc_mr_fast_register() always request their respective send queues to
be posted, so their post_sq false branches are unreachable.

Remove both arguments and post the queues unconditionally. Drop the
redundant QP flush request assignments as well.

Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
 
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@xxxxxxxxxxxx

--
Regards,
Kalesh AP

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature