diff mbox

opensm/osm_sa_pkey_record.c: removing unused variable

Message ID 4C8652DF.4010705@mellanox.co.il (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Yevgeny Kliteynik Sept. 7, 2010, 2:57 p.m. UTC
None
diff mbox

Patch

diff --git a/opensm/opensm/osm_sa_pkey_record.c b/opensm/opensm/osm_sa_pkey_record.c
index 5b1c794..e4930d0 100644
--- a/opensm/opensm/osm_sa_pkey_record.c
+++ b/opensm/opensm/osm_sa_pkey_record.c
@@ -210,7 +210,6 @@  void osm_pkey_rec_rcv_process(IN void *ctx, IN void *data)
 	const ib_sa_mad_t *p_rcvd_mad;
 	const ib_pkey_table_record_t *p_rcvd_rec;
 	const osm_port_t *p_port = NULL;
-	const ib_pkey_table_t *p_pkey;
 	cl_qlist_t rec_list;
 	osm_pkey_search_ctxt_t context;
 	ib_net64_t comp_mask;
@@ -264,8 +263,6 @@  void osm_pkey_rec_rcv_process(IN void *ctx, IN void *data)
 		goto Exit;
 	}

-	p_pkey = ib_sa_mad_get_payload_ptr(p_rcvd_mad);
-
 	cl_qlist_init(&rec_list);

 	context.p_rcvd_rec = p_rcvd_rec;