[PATCH 9/9] RDMA/hfi2: Remove stale hfi2_destroy_qp() comment

Dennis Dalessandro <[email protected]> Mon, 03 Aug 2026 12:11:37 -0400
Newsgroups org.kernel.vger.linux-rdma
Message-ID <178577349751.1793053.11514533065353361217.stgit@awdrv-04>
hfi2_qp_wakeup() has a comment referencing a hfi2_destroy_qp()
function that has never existed in this driver; it is leftover from
the mechanical hfi1-to-hfi2 rename and no longer describes anything
real. Remove it.

Matches hfi1 fix adc09d7fbbb9 ("RDMA: Remove outdated comments
referencing hfi1_destroy_qp()").

Assisted-by: Claude:claude-sonnet-4-5
Signed-off-by: Dennis Dalessandro <[email protected]>
---
 drivers/infiniband/hw/hfi2/qp.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/infiniband/hw/hfi2/qp.c b/drivers/infiniband/hw/hfi2/qp.c
index ad1602ff45a5..2dc222bf5963 100644
--- a/drivers/infiniband/hw/hfi2/qp.c
+++ b/drivers/infiniband/hw/hfi2/qp.c
@@ -414,7 +414,6 @@ void hfi2_qp_wakeup(struct rvt_qp *qp, u32 flag)
 		hfi2_qp_schedule(qp);
 	}
 	spin_unlock_irqrestore(&qp->s_lock, flags);
-	/* Notify hfi2_destroy_qp() if it is waiting. */
 	rvt_put_qp(qp);
 }