Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

RDMA: Remove outdated comments referencing hfi1_destroy_qp()

The function hfi1_destroy_qp() was removed in commit
75261cc6ab66 ("staging/rdma/hfi1: Remove destroy qp verb") in
favor of the rdmavt generic rvt_destroy_qp(). Two comments
still reference hfi1_destroy_qp() as the waiter that
rvt_put_qp() will wake up. As Leon Romanovsky noted, these
comments add no value. Remove them.

Suggested-by: Leon Romanovsky <leon@kernel.org>
Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Link: https://patch.msgid.link/20260323134450.2478-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Leon Romanovsky <leon@kernel.org>

authored by

Kexin Sun and committed by
Leon Romanovsky
adc09d7f 2f49e159

-2
-1
drivers/infiniband/hw/hfi1/qp.c
··· 404 404 hfi1_qp_schedule(qp); 405 405 } 406 406 spin_unlock_irqrestore(&qp->s_lock, flags); 407 - /* Notify hfi1_destroy_qp() if it is waiting. */ 408 407 rvt_put_qp(qp); 409 408 } 410 409
-1
drivers/infiniband/sw/rdmavt/mcast.c
··· 49 49 { 50 50 struct rvt_qp *qp = mqp->qp; 51 51 52 - /* Notify hfi1_destroy_qp() if it is waiting. */ 53 52 rvt_put_qp(qp); 54 53 55 54 kfree(mqp);