git: 9f580526e45a - main - ibcore: Remove set, but not used variable.

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Thu, 05 May 2022 10:33:17 UTC
The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=9f580526e45a28fdfabe1aa58798ad3883690af0

commit 9f580526e45a28fdfabe1aa58798ad3883690af0
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-05-05 10:31:17 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-05-05 10:32:30 +0000

    ibcore: Remove set, but not used variable.
    
    MFC after:      1 week
    Sponsored by:   NVIDIA Networking
---
 sys/ofed/drivers/infiniband/core/ib_iwcm.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/ofed/drivers/infiniband/core/ib_iwcm.c b/sys/ofed/drivers/infiniband/core/ib_iwcm.c
index 6ac7b06569de..de47f6e1469f 100644
--- a/sys/ofed/drivers/infiniband/core/ib_iwcm.c
+++ b/sys/ofed/drivers/infiniband/core/ib_iwcm.c
@@ -424,9 +424,6 @@ static void destroy_cm_id(struct iw_cm_id *cm_id)
  */
 void iw_destroy_cm_id(struct iw_cm_id *cm_id)
 {
-	struct iwcm_id_private *cm_id_priv;
-
-	cm_id_priv = container_of(cm_id, struct iwcm_id_private, id);
 	destroy_cm_id(cm_id);
 }
 EXPORT_SYMBOL(iw_destroy_cm_id);